* 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:
Jonas Maebe 2011-01-07 19:17:47 +00:00
parent 4e93ecda3d
commit b49b3ecc61

View File

@ -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 }