set pi_needs_got always if cs_create_pic is on

git-svn-id: trunk@21774 -
This commit is contained in:
pierre 2012-07-04 16:25:42 +00:00
parent 944d500d55
commit a892e2aa6f

View File

@ -81,6 +81,10 @@ implementation
{ for testing }
needs_frame_pointer := true;//false;
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;