What happened to java Utf-8 merging patches (was Re: Constant merging buggy? [Re: Java: enable constant merging])
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Sat Feb 2 15:48:00 GMT 2002
Jakub Jelinek wrote:
>>
>>Interesting, I had not seen these. Anthony, do you recall if libgcj was
>>working correctly with your version of this patch?
>>
>>In any case, I think its better to rely on the logic in varasm if
>>possible, rather than have the front end deal with explicit section names.
>>
>
>mergeable_constant_section is for power of 2 sized constants aligned at
>least to its size, utf-8 constants are different. They are more like
>SHF_STRING, with the difference that they contain a header, thus you need
>separate sections for each string length.
>
I see. That would explain why my patch doesn't work.
But in that case, why was mergeable_constant_section trying to merge them?
regards
Bryce.
More information about the Gcc-patches
mailing list