浏览代码

* the size of the CIE_pointer in an FDE is always 32 bit

git-svn-id: trunk@48507 -
florian 4 年之前
父节点
当前提交
1e960a9aeb
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/cfidwarf.pas

+ 2 - 1
compiler/cfidwarf.pas

@@ -435,7 +435,8 @@ implementation
                     end
                   else
                     begin
-                      tc:=tai_const.create_sym(cielabel);
+                      { according to the dwarf (2 to 4) standard, this is an uword being always 32 bit unsigned }
+                      tc:=tai_const.create_type_sym(aitconst_32bit,cielabel);
                       { force label offset to secrel32 for windows systems }
                       if (target_info.system in systems_windows+systems_wince) then
                         tc.consttype:=aitconst_secrel32_symbol;