Просмотр исходного кода

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

git-svn-id: trunk@32536 -
yury 9 лет назад
Родитель
Сommit
78b4950b97
1 измененных файлов с 0 добавлено и 1 удалено
  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
                    (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