* same change as in r22240 for darwin/ppc(64)

git-svn-id: trunk@22246 -
This commit is contained in:
Jonas Maebe 2012-08-26 08:58:48 +00:00
parent d4eb2d7336
commit 2be5c8b9af

View File

@ -1028,7 +1028,8 @@ unit cgppc;
else
begin
include(current_procinfo.flags,pi_needs_got);
tmpreg := current_procinfo.got;
tmpreg := getaddressregister(list);
a_load_reg_reg(list,OS_ADDR,OS_ADDR,current_procinfo.got,tmpreg);
if assigned(ref.relsymbol) then
internalerror(2007093501);
ref.relsymbol := current_procinfo.CurrGOTLabel;