This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: progress on method-gc / mangling questions
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 21 Jan 2002 15:02:29 -0800 (PST)
- Subject: Re: progress on method-gc / mangling questions
- References: <86lmeruye6.fsf@megacz.com>
- Reply-to: apbianco at cygnus dot com
Adam Megacz writes:
>
> Okay, questions first, then an explanation of why I'm asking them...
>
> - Is there any documentation on the java symbol mangling procedure?
Yes. It is implied that it follows the C++ 3.0 (known as gnu-v3 in
c++filt,) which used to be specified here http://reality.sgi.com/dehnert_engr/cxx/abi.html.
> Are there any guarantees about its stability in future releases?
> (I would guess that there are no guarantees, but I could be
> wrong).
I would think it is in for the long run.
> __CT_
Constant
> __IF_
Implemented interface
> __CD_
Constant data
> __CT_
Constant constructor
> __FL_
class fields
> __MT_
class methods
(These you can find in the java front-end sources.)
> __ZTVN4
Vtables (not valid as reported here. Could be _ZTVN4java4lang5ClassE,
vtable for java::lang::Class.)
./A