AIX vtable issues
Mark Mitchell
mark@codesourcery.com
Mon Feb 5 22:51:00 GMT 2001
David --
There's still a problem with templates and vtables on AIX.
I'm confused, though, by what happens.
We emit definitions for the vtables, but somehow they don't count.
For example:
.toc
LC..0:
.tc _ZTT4MostIiE[TC],_ZTT4MostIiE[RW]
...
.csect _test.rw_C[RW],3
.align 2
_ZTT4MostIiE:
.long _ZTV4MostIiE[RW]+12
.long _ZTC4MostIiE0_2D1IiE[RW]+12
.long _ZTC4MostIiE4_2D2IiE[RW]+12
.long _ZTV4MostIiE[RW]+24
This reults in _ZTT4MostIiE being undefined at link time.
What's going on here? (I have the feeling you might have explained
this before, but I can't quite piece it together.)
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list