Browse Source

* Do not align TTypeInfo.Name field in enumdef_rtti since TTypeInfo record is defined with {$PACKRECORDS 1}. It fixes tw8660 for ARM.

git-svn-id: trunk@10767 -
yury 17 years ago
parent
commit
d26d792e7b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      compiler/ncgrtti.pas

+ 0 - 1
compiler/ncgrtti.pas

@@ -393,7 +393,6 @@ implementation
            hp : tenumsym;
            hp : tenumsym;
         begin
         begin
           current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_8bit(tkEnumeration));
           current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_8bit(tkEnumeration));
-          current_asmdata.asmlists[al_rtti].concat(Cai_align.Create(cshortstringtype.alignment));	  
           write_rtti_name(def);
           write_rtti_name(def);
           if (tf_requires_proper_alignment in target_info.flags) then
           if (tf_requires_proper_alignment in target_info.flags) then
             current_asmdata.asmlists[al_rtti].concat(Cai_align.Create(sizeof(TConstPtrUInt)));
             current_asmdata.asmlists[al_rtti].concat(Cai_align.Create(sizeof(TConstPtrUInt)));