Browse Source

* set addr_pic

git-svn-id: trunk@9350 -
peter 17 years ago
parent
commit
dbba46c0e4
1 changed files with 1 additions and 0 deletions
  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);
                    include(current_procinfo.flags,pi_needs_got);
                    hreg:=current_procinfo.got;
                    hreg:=current_procinfo.got;
                    ref.relsymbol:=current_procinfo.CurrGOTLabel;
                    ref.relsymbol:=current_procinfo.CurrGOTLabel;
+                   ref.refaddr:=addr_pic;
                  end;
                  end;
                add_hreg:=true
                add_hreg:=true
              end
              end