mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 12:09:06 +02:00
set pi_needs_got always if cs_create_pic is on
git-svn-id: trunk@21774 -
This commit is contained in:
parent
944d500d55
commit
a892e2aa6f
@ -81,6 +81,10 @@ implementation
|
|||||||
{ for testing }
|
{ for testing }
|
||||||
needs_frame_pointer := true;//false;
|
needs_frame_pointer := true;//false;
|
||||||
computed_local_size:=-1;
|
computed_local_size:=-1;
|
||||||
|
{ 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);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user