[Patch 1/2] Add demangling for java resource files to libiberty
David Daney
ddaney@avtrex.com
Tue Jan 29 02:55:00 GMT 2008
Ian Lance Taylor wrote:
> David Daney <ddaney@avtrex.com> writes:
>
>
>> include/
>> 2008-01-14 David Daney <ddaney@avtrex.com>
>>
>> * demangle.h (demangle_component_type): Add
>> DEMANGLE_COMPONENT_JAVA_RESOURCE,
>> DEMANGLE_COMPONENT_COMPOUND_NAME, and
>> DEMANGLE_COMPONENT_CHARACTER as new enum values.
>> (demangle_component): Add struct s_character to union u.
>>
>> libiberty/
>> 2008-01-25 David Daney <ddaney@avtrex.com>
>>
>> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
>> DEMANGLE_COMPONENT_COMPOUND_NAME, and
>> DEMANGLE_COMPONENT_CHARACTER cases.
>> (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
>> DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
>> (d_make_character): New function.
>> (d_java_resource): Same.
>> (d_special_name): Handle "Gr" case.
>> (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
>> DEMANGLE_COMPONENT_COMPOUND_NAME, and
>> DEMANGLE_COMPONENT_CHARACTER cases.
>> * testsuite/demangle-expected: Add test for java resource name
>> mangling.
>>
>
> This is OK for 4.3 if 4.3 will include the java patches which can
> generate these mangled names.
>
The patch for the new mangling was committed a couple of days ago to GCC
4.3.
This patch now committed to GCC and binutils.
Thanks,
David Daney
More information about the Binutils
mailing list