Procházet zdrojové kódy

* Fixed calling of external procs for i386 non-darwin targets when PIC is enabled.

git-svn-id: trunk@32536 -
yury před 9 roky
rodič
revize
78b4950b97
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      compiler/i386/hlcgcpu.pas

+ 0 - 1
compiler/i386/hlcgcpu.pas

@@ -192,7 +192,6 @@ implementation
     need_got_load:=not (target_info.system in systems_darwin) and
     need_got_load:=not (target_info.system in systems_darwin) and
                    (cs_create_pic in current_settings.moduleswitches) and
                    (cs_create_pic in current_settings.moduleswitches) and
                    (tf_pic_uses_got in target_info.flags) and
                    (tf_pic_uses_got in target_info.flags) and
-                   (pi_needs_got in current_procinfo.flags) and
                    (po_external in pd.procoptions);
                    (po_external in pd.procoptions);
     if need_got_load then
     if need_got_load then
       begin
       begin