readelf truncates symbol names in relocation sections

Julian v. Bock julian@OpenIT.DE
Wed Dec 19 02:48:00 GMT 2001


Hi

>>>>> "Nick" == Nick Clifton <nickc@cambridge.redhat.com> writes:

    >> readelf (binutils-2.11.90.0.31) truncates symbol names in
    >> relocation sections to 25 characters. This makes the output
    >> quite useless.

    Nick> Actually this is deliberate.  It is intended to help make
    Nick> readelf's output more readable.

In that case the symbol names from other sections should be truncated
as well.

    >> I have appended a patch that fixes this problem.

    Nick> Sorry this patch is not acceptable as is.  The old behaviour
    Nick> needs to be retained somhow.  Please consider either
    Nick> creating a new command line switch to enable the display of
    Nick> full length symbol names, or else attaching the ability to
    Nick> the already existing --wide switch.

readelf (at least version 2.11.90.0.31) does not have a --wide switch.
I am going to add the switch and truncate symbol names consistently.

Julian



More information about the Binutils mailing list