This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Class layout accross multiple architectures.
- To: Noel Yap <nyap at garban dot com>
- Subject: Re: Class layout accross multiple architectures.
- From: Nathan Myers <ncm at cantrip dot org>
- Date: Mon, 17 Aug 1998 14:17:54 -0700 (PDT)
- Cc: Nathan Myers <ncm at nospam dot cantrip dot org>, egcs at cygnus dot com
- References: <35D5C079.62705A28.cygnus.egcs@gte.net><35D662DD.CD6595F0@nospam.cantrip.org><35D81A7D.72FE@garban.com>
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