* Fixed calling of external procs for i386 non-darwin targets when PIC is enabled.
authoryury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2>
Thu, 26 Nov 2015 17:04:55 +0000 (17:04 +0000)
committerGraham Inggs <ginggs@debian.org>
Wed, 8 Feb 2017 09:53:35 +0000 (09:53 +0000)
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

index 572dbff1b81c09265e6bce0e3c39e0bd5d587196..1ba4427721d3389a49b7af33aae4f56d5c06fc1b 100644 (file)
@@ -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