瀏覽代碼

* handle aitconst_darwin_dwarf_delta32 and aitconst_darwin_dwarf_delta64 in
tai_const.size (fixes internalerror when using the internal Mach-O
assembler with DWARF debug info, patch by Dmitry Boyarintsev, mantis
#16640)

git-svn-id: trunk@15391 -

Jonas Maebe 15 年之前
父節點
當前提交
b4687b5a13
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/aasmtai.pas

+ 2 - 2
compiler/aasmtai.pas

@@ -1305,9 +1305,9 @@ implementation
             result:=1;
           aitconst_16bit :
             result:=2;
-          aitconst_32bit :
+          aitconst_32bit,aitconst_darwin_dwarf_delta32:
             result:=4;
-          aitconst_64bit :
+          aitconst_64bit,aitconst_darwin_dwarf_delta64:
             result:=8;
           aitconst_secrel32_symbol,
           aitconst_rva_symbol :