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]
Other format: [Raw text]

Re: [cxx-abi-dev] Re: Mistake in C++ ABI substitution rules?


Stan Shebs <shebs@apple.com> writes:
> 
> > Incidentally, the kernel guy now reports that he has a remangler
> > capable of converting all the 2.95 mangled symbols in Darwin kernel
> > and drivers to their 3.1 counterparts.  Next is to try booting a
> > 3.1-compiled kernel and see what happens when the 3.1 base classes
> > actually load the 2.95-compiled derived classes that make up the
> > drivers...

Martin von Loewis writes:
> Not that this is relevant for the ABI discussions: but won't there be
> issues with changes to object layout as well?

Yes, in particular 2.95 always reserved at least 1 byte for all
sub-objects (members or base classes of a class or struct), but 3.x
will not allocate any space in most cases for classes with no data
members and no vtable.


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