mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 11:26:01 +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
|
end
|
||||||
{$ifdef x86_64}
|
{$ifdef x86_64}
|
||||||
else if (target_info.system in (systems_all_windows+[system_x86_64_darwin]))
|
else if (target_info.system in (systems_all_windows+[system_x86_64_darwin]))
|
||||||
or ((target_info.system = system_x86_64_solaris) and
|
or (cs_create_pic in current_settings.moduleswitches)
|
||||||
(cs_create_pic in current_settings.moduleswitches))
|
|
||||||
then
|
then
|
||||||
begin
|
begin
|
||||||
{ Win64 and Darwin/x86_64 always require RIP-relative addressing }
|
{ Win64 and Darwin/x86_64 always require RIP-relative addressing }
|
||||||
|
Loading…
Reference in New Issue
Block a user