+ OpenBSD i386 and x86_64 support in tcgx86.g_profilecode

git-svn-id: trunk@41760 -
This commit is contained in:
nickysn 2019-03-21 17:09:21 +00:00
parent 85fdd37cac
commit 8f8aa70074

View File

@ -3229,13 +3229,11 @@ unit cgx86;
{$endif}
system_i386_freebsd,
system_i386_netbsd,
// system_i386_openbsd,
system_i386_wdosx :
begin
Case target_info.system Of
system_i386_freebsd : mcountprefix:='.';
system_i386_netbsd : mcountprefix:='__';
// system_i386_openbsd : mcountprefix:='.';
else
mcountPrefix:='';
end;
@ -3263,6 +3261,11 @@ unit cgx86;
begin
a_call_name(list,'mcount',false);
end;
system_i386_openbsd,
system_x86_64_openbsd:
begin
a_call_name(list,'__mcount',false);
end;
end;
end;