mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 12:05:57 +02:00
* fixed x86 compilation after r8651
git-svn-id: trunk@8652 -
This commit is contained in:
parent
335bc9fd46
commit
9750e49d5a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user