浏览代码

* set addr_pic

git-svn-id: trunk@9350 -
peter 18 年之前
父节点
当前提交
dbba46c0e4
共有 1 个文件被更改,包括 1 次插入0 次删除
  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