This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: readelf truncates symbol names in relocation sections


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]