https://sourceware.org/bugzilla/show_bug.cgi?id=30684

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 15012
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15012&action=edit
Proposed patch

Have a play with this patch and let me know what you think.

The patch is incomplete - it does not document the new behaviour and I have not
added any new tests or tweaks to existing tests - but it does show how I think
that the feature might work.

The new behaviour is only enabled when the --wide option is enabled.

In addition to decoding the symbol indicies, the patch also changes readelf's
current behaviour slightly in that any non-visibility information in a symbols
st_other field is now only displayed when --wide is active.  I made this change
because displaying the "other" information disrupts the layout of the table
being displayed and I want to keep the non-wide display as uniform as possible.

You may also wonder about/hate the display of "==>" for section symbols.  I did
not want to display the section name twice, but I did want a way to indicate
that the section index does have a string associated with it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to