mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-07 07:26:13 +02:00
* exports need pic on x86_64-freebsd
git-svn-id: trunk@11768 -
This commit is contained in:
parent
e32f13dffb
commit
844c05ca2e
@ -152,7 +152,7 @@ begin
|
||||
current_asmdata.asmlists[al_procedures].concat(Tai_symbol.Createname_global(hp2.name^,AT_FUNCTION,0));
|
||||
if (cs_create_pic in current_settings.moduleswitches) and
|
||||
{ other targets need to be checked how it works }
|
||||
(target_info.system in [system_i386_freebsd,system_x86_64_linux,system_i386_linux]) then
|
||||
(target_info.system in [system_i386_freebsd,system_x86_64_freebsd,system_x86_64_linux,system_i386_linux]) then
|
||||
begin
|
||||
{$ifdef x86}
|
||||
sym:=current_asmdata.RefAsmSymbol(pd.mangledname);
|
||||
@ -182,4 +182,4 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
end.
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user