mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
set got at create of cs_create_pic is used
git-svn-id: trunk@21793 -
This commit is contained in:
parent
c2cd8246cb
commit
fc81979f61
@ -84,7 +84,12 @@ implementation
|
||||
{ pi_needs_got is not yet set correctly
|
||||
so include it always if creating PIC code }
|
||||
if (cs_create_pic in current_settings.moduleswitches) then
|
||||
include(flags, pi_needs_got);
|
||||
begin
|
||||
include(flags, pi_needs_got);
|
||||
got:=NR_GP;
|
||||
end
|
||||
else
|
||||
got:=NR_NO;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user