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]

Where to find ABI specs for g++


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


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