From 2bd7a5ca6f73f21bc07596143993012e2265c5a1 Mon Sep 17 00:00:00 2001 From: yury Date: Thu, 26 Nov 2015 17:04:55 +0000 Subject: [PATCH] * 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 --- fpcsrc/compiler/i386/hlcgcpu.pas | 1 - 1 file changed, 1 deletion(-) 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 -- 2.30.2