git-svn-id: trunk@8652 -
@@ -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
@@ -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