progress on method-gc / mangling questions
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Wed Jan 23 12:48:00 GMT 2002
Tom Tromey wrote:
>>>>>>"Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
>>>>>>>>Adam> - My binaries have a lot of sections named __Utf<n> where <n> is
>Adam> some number. What are these sections? String constants?
>>Bryce> I don't know why they would be in different sections.
>>Are they in separate sections so the linker can merge identical
>constants? I thought Per wrote a patch to do this, but honestly I've
>forgotten whether it went in.
>
Possibly. GCC is supposed to merge constants automatically (by putting
them in SHF_MERGE sections) if your linker supports it, but it doesn't
seem to be working for our Utf8Consts. I've been meaning to investigate...
regards
Bryce.
More information about the Java
mailing list