This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Class layout accross multiple architectures.


Noel Yap writes:
 > Nathan Myers wrote:
 > > If I understand correctly, the differences between Egcs's old and 
 > > "new-abi" as it affects you are mainly in
 > > 
 > > (1) the contents of the vtable and what it points to,
 > > (2) object layout in the presence of empty subobjects (old-abi subobjects
 > >     are never really empty) and virtual bases, and
 > > (3) name mangling.
 > 
 > The name mangling scheme is changing?

Yes, under -fnew-abi, the mangled names are much, much shorter.
It is important to change mangling when other ABI changes happen, 
because otherwise you might succeed in linking incompatible object
files together, so it's good that it also improved.

Nathan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]