Class layout accross multiple architectures.

Nathan Myers ncm@cantrip.org
Mon Aug 17 17:41:00 GMT 1998


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



More information about the Gcc mailing list