From: yury Date: Thu, 26 Nov 2015 17:04:55 +0000 (+0000) Subject: * Fixed calling of external procs for i386 non-darwin targets when PIC is enabled. X-Git-Tag: archive/raspbian/3.0.0+dfsg-11+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=92f7bd7ed763b83e021e784030c11fe9d4d5ed78;p=fpc.git * Fixed calling of external procs for i386 non-darwin targets when PIC is enabled. git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@32536 3ad0048d-3df7-0310-abae-a5850022a9f2 Gbp-Pq: Name Fixed-calling-of-external-procs-for-i386-non-darwin-.patch --- diff --git a/fpcsrc/compiler/i386/hlcgcpu.pas b/fpcsrc/compiler/i386/hlcgcpu.pas index 572dbff1..1ba44277 100644 --- a/fpcsrc/compiler/i386/hlcgcpu.pas +++ b/fpcsrc/compiler/i386/hlcgcpu.pas @@ -185,7 +185,6 @@ implementation need_got_load:=not (target_info.system in systems_darwin) and (cs_create_pic in current_settings.moduleswitches) and (tf_pic_uses_got in target_info.flags) and - (pi_needs_got in current_procinfo.flags) and (po_external in pd.procoptions); if need_got_load then begin