mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 20:51:38 +02:00
* i386: Do not request GOT for every function call. GOT is requested only for external calls in thlcgcpu.a_call_name(). Local calls are always PC relative.
git-svn-id: trunk@41464 -
This commit is contained in:
parent
039aee9568
commit
a04e4971fc
@ -902,10 +902,7 @@ unit cgx86;
|
||||
{ darwin's assembler doesn't want @PLT after call symbols }
|
||||
not(target_info.system in [system_x86_64_darwin,system_i386_iphonesim,system_x86_64_iphonesim]) then
|
||||
begin
|
||||
{$ifdef i386}
|
||||
include(current_procinfo.flags,pi_needs_got);
|
||||
{$endif i386}
|
||||
r.refaddr:=addr_pic
|
||||
r.refaddr:=addr_pic;
|
||||
end
|
||||
else
|
||||
r.refaddr:=addr_full;
|
||||
|
Loading…
Reference in New Issue
Block a user