浏览代码

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

git-svn-id: trunk@32036 -
yury 9 年之前
父节点
当前提交
2bcd49bbc4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);