This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX vtable issues
- To: dje at watson dot ibm dot com
- Subject: Re: AIX vtable issues
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 06 Feb 2001 09:37:27 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <mark@codesourcery.com><200102061609.LAA06166@mal-ach.watson.ibm.com>
>>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:
David> I assume that vtables no longer have "_vt." in their name, so this code is
David> not being invoked. This code needs to check for whatever additional
David> substring designates a virtual function table.
After I sent that mail, I did find that code, and modify it
appropriately.
I verified that it changed the resulting assembler output. It now
looks like:
.toc
LC..0:
.tc _ZTT4MostIiE[TC],_ZTT4MostIiE
.csect _template41.rw_ii[RW],3
.align 2
_ZTT4MostIiE:
.long _ZTV4MostIiE[RW]+12
.long _ZTC4MostIiE0_2D1IiE[RW]+12
.long _ZTC4MostIiE4_2D2IiE[RW]+12
.long _ZTV4MostIiE[RW]+24
.space 4
.align 2
(Note that the `[RW]' is now missing on the `.tc' line.
But, the same problem still occurs. Oh, I see why, now: inside the
definition of _ZTT4MostIiE we still have section references to various
other vtables. OK, I'll try to track that down.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com