Browse Source

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

git-svn-id: trunk@48507 -
florian 4 years ago
parent
commit
1e960a9aeb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/cfidwarf.pas

+ 2 - 1
compiler/cfidwarf.pas

@@ -435,7 +435,8 @@ implementation
                     end
                     end
                   else
                   else
                     begin
                     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 }
                       { force label offset to secrel32 for windows systems }
                       if (target_info.system in systems_windows+systems_wince) then
                       if (target_info.system in systems_windows+systems_wince) then
                         tc.consttype:=aitconst_secrel32_symbol;
                         tc.consttype:=aitconst_secrel32_symbol;