This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC GNU Compiler question
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Gafencu, Gheorghe-Costica" <Gheorghe-Costica dot Gafencu at Honeywell dot com>
- Cc: help-gcc at gnu dot org
- Date: Mon, 01 Apr 2002 00:55:26 -0500
- Subject: Re: PowerPC GNU Compiler question
- References: <4B3EBD3B46D7D21194B30008C7B1C7650DC82AAD@oltex134.allied.com>
Are you asking about the C++ ABI and mangling conventions? That
*is* compiler-dependent, but the system calling convention ABI is not
compiler-dependent.
GCC 3 now uses the IA-64 C++ ABI across all architectures. That
specifies how vtables are layed out and how C++ symbols are mangled, but
the details of how the parameters are passed to methods still follow the
system-specific ABI.
The C++ ABI for Itanium (used by GCC for all architectures) is
detailed at:
http://www.codesourcery.com/cxx-abi/
David