Bug 444622 - RFE: list symbols in DT_HASH and DT_GNU_HASH tables
RFE: list symbols in DT_HASH and DT_GNU_HASH tables
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: binutils (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-29 11:59 EDT by John Reiser
Modified: 2010-03-10 11:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-29 12:45:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Reiser 2008-04-29 11:59:52 EDT
Description of problem: There is no way to inspect which symbols appear in the
DT_HASH or DT_GNU_HASH tables.  This makes it more difficult that necessary to
document or debug problems involving runtime dynamic symbol lookup.


Version-Release number of selected component (if applicable):
binutils-2.18.50.0.6-2.i386


How reproducible: always


Steps to Reproduce:
1. readelf --all /bin/date
2.
3.
  
Actual results: no designation of which symbols appear in DT_HASH or DT_GNU_HASH


Expected results: some designation of which symbols appear in DT_HASH or
DT_GNU_HASH tables.


Additional info:
Comment 1 Jakub Jelinek 2008-04-29 12:45:52 EDT
Apparenly you haven't tried readelf -Ds
Comment 2 John Reiser 2008-04-29 20:05:36 EDT
The usage documentation claims that "readelf -Ds" uses the dynamic section info
when displaying symbols, but the output says "Symbol table of '.gnu.hash'". 
Those could be two different collections of symbols, particularly if there are bugs.

Note You need to log in before you can comment on or make changes to this bug.