Browse Source

* set addr_pic

git-svn-id: trunk@9350 -
peter 18 năm trước cách đây
mục cha
commit
dbba46c0e4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      compiler/x86/cgx86.pas

+ 1 - 0
compiler/x86/cgx86.pas

@@ -426,6 +426,7 @@ unit cgx86;
                    include(current_procinfo.flags,pi_needs_got);
                    hreg:=current_procinfo.got;
                    ref.relsymbol:=current_procinfo.CurrGOTLabel;
+                   ref.refaddr:=addr_pic;
                  end;
                add_hreg:=true
              end