mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* one more fix that should have been part of r16717: also generate
addr_pic_no_got references for linux in a_loadaddr_ref_reg() git-svn-id: trunk@16728 -
This commit is contained in:
parent
4e93ecda3d
commit
b49b3ecc61
@ -956,8 +956,7 @@ unit cgx86;
|
||||
end
|
||||
{$ifdef x86_64}
|
||||
else if (target_info.system in (systems_all_windows+[system_x86_64_darwin]))
|
||||
or ((target_info.system = system_x86_64_solaris) and
|
||||
(cs_create_pic in current_settings.moduleswitches))
|
||||
or (cs_create_pic in current_settings.moduleswitches)
|
||||
then
|
||||
begin
|
||||
{ Win64 and Darwin/x86_64 always require RIP-relative addressing }
|
||||
|
Loading…
Reference in New Issue
Block a user