Ver Fonte

Fixed alignment problems for dwarf debug symbols

git-svn-id: branches/mips_embedded@28624 -
ring há 11 anos atrás
pai
commit
756c840730
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      compiler/dbgdwarf.pas

+ 2 - 2
compiler/dbgdwarf.pas

@@ -2409,7 +2409,7 @@ implementation
                     else
                     else
                       begin
                       begin
                         templist.concat(tai_const.create_8bit(ord(DW_OP_addr)));
                         templist.concat(tai_const.create_8bit(ord(DW_OP_addr)));
-                        templist.concat(tai_const.Create_type_name(aitconst_ptr,sym.mangledname,offset));
+                        templist.concat(tai_const.Create_type_name(aitconst_ptr_unaligned,sym.mangledname,offset));
                         blocksize:=1+sizeof(puint);
                         blocksize:=1+sizeof(puint);
                       end;
                       end;
                   end;
                   end;
@@ -2870,7 +2870,7 @@ implementation
           toasm :
           toasm :
             begin
             begin
               templist.concat(tai_const.create_8bit(3));
               templist.concat(tai_const.create_8bit(3));
-              templist.concat(tai_const.create_type_name(aitconst_ptr,sym.mangledname,0));
+              templist.concat(tai_const.create_type_name(aitconst_ptr_unaligned,sym.mangledname,0));
               blocksize:=1+sizeof(puint);
               blocksize:=1+sizeof(puint);
             end;
             end;
           tovar:
           tovar: