Browse Source

* fixed x86 compilation after r8651

git-svn-id: trunk@8652 -
Jonas Maebe 18 years ago
parent
commit
9750e49d5a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/i386/cgcpu.pas
  2. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/i386/cgcpu.pas

@@ -486,7 +486,7 @@ unit cgcpu;
       end;
 
 
-    procedure g_maybe_got_init(list: TAsmList);
+    procedure tcg386.g_maybe_got_init(list: TAsmList);
       begin
         { allocate PIC register }
         if (cs_create_pic in current_settings.moduleswitches) and

+ 1 - 1
compiler/x86/cgx86.pas

@@ -1995,7 +1995,7 @@ unit cgx86;
             { it could be that we're called from a procedure not having the
               got loaded
             }
-            gen_got_load(list);
+            g_maybe_got_init(list);
             ref.refaddr:=addr_pic;
           end
         else