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

* added comment clarifying why g_indirect_sym_load doesn't have to
care about PIC

git-svn-id: trunk@8653 -

Jonas Maebe 18 лет назад
Родитель
Сommit
b103605bc3
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      compiler/cgobj.pas

+ 1 - 2
compiler/cgobj.pas

@@ -3747,8 +3747,7 @@ implementation
                 end;
               result := getaddressregister(list);
               reference_reset_symbol(ref,l,0);
-{              ref.base:=current_procinfo.got;
-              ref.relsymbol:=current_procinfo.CurrGOTLabel;}
+              { a_load_ref_reg will turn this into a pic-load if needed }
               a_load_ref_reg(list,OS_ADDR,OS_ADDR,ref,result);
             end;
           end;