mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 00:19:25 +02:00
+ OpenBSD i386 and x86_64 support in tcgx86.g_profilecode
git-svn-id: trunk@41760 -
This commit is contained in:
parent
85fdd37cac
commit
8f8aa70074
@ -3229,13 +3229,11 @@ unit cgx86;
|
|||||||
{$endif}
|
{$endif}
|
||||||
system_i386_freebsd,
|
system_i386_freebsd,
|
||||||
system_i386_netbsd,
|
system_i386_netbsd,
|
||||||
// system_i386_openbsd,
|
|
||||||
system_i386_wdosx :
|
system_i386_wdosx :
|
||||||
begin
|
begin
|
||||||
Case target_info.system Of
|
Case target_info.system Of
|
||||||
system_i386_freebsd : mcountprefix:='.';
|
system_i386_freebsd : mcountprefix:='.';
|
||||||
system_i386_netbsd : mcountprefix:='__';
|
system_i386_netbsd : mcountprefix:='__';
|
||||||
// system_i386_openbsd : mcountprefix:='.';
|
|
||||||
else
|
else
|
||||||
mcountPrefix:='';
|
mcountPrefix:='';
|
||||||
end;
|
end;
|
||||||
@ -3263,6 +3261,11 @@ unit cgx86;
|
|||||||
begin
|
begin
|
||||||
a_call_name(list,'mcount',false);
|
a_call_name(list,'mcount',false);
|
||||||
end;
|
end;
|
||||||
|
system_i386_openbsd,
|
||||||
|
system_x86_64_openbsd:
|
||||||
|
begin
|
||||||
|
a_call_name(list,'__mcount',false);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user