This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Where to find ABI specs for g++
- To: gcc at gcc dot gnu dot org
- Subject: Where to find ABI specs for g++
- From: Scott Long <scott at swiftview dot com>
- Date: Tue, 24 Jul 2001 15:46:03 -0700
- Organization: SwiftView, Inc.
- Reply-To: scott at swiftview dot com
I have been unable to find concrete, readable specs (i.e., not source
code) detailing exactly the C++ ABI for either 2.x or 3.0. Does anyone
know where I might find such? Specifically I'm interested in how the
vtable is laid out.
Here's the output I get from g++ -S (egcs-2.91.66) on a simple class:
__vt_5Prove:
.long 0
.long __tf5Prove
.long Foo__5Prove
.long Bar__5Prove
What's the initial 0? And what is __tf5Prove?
Thanks for any help. Please make sure to CC me since I'm not subscribed.
Scott Long