소스 검색

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

git-svn-id: trunk@22246 -
Jonas Maebe 13 년 전
부모
커밋
2be5c8b9af
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      compiler/ppcgen/cgppc.pas

+ 2 - 1
compiler/ppcgen/cgppc.pas

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