Procházet zdrojové kódy

* Fixed i386 case jump table when PIC with GOT and an external assembler is used.

git-svn-id: trunk@32036 -
yury před 9 roky
rodič
revize
2bcd49bbc4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/aggas.pas

+ 1 - 1
compiler/aggas.pas

@@ -886,7 +886,7 @@ implementation
                        cpu_i386:
                          begin
                            writer.AsmWrite(ait_const2str[aitconst_32bit]);
-                           writer.AsmWrite(tai_const(hp).sym.name);
+                           writer.AsmWrite(tai_const(hp).sym.name+'-_GLOBAL_OFFSET_TABLE_');
                          end;
                      else
                        InternalError(2014022602);