Red Hat Bugzilla – Bug 444622
RFE: list symbols in DT_HASH and DT_GNU_HASH tables
Last modified: 2010-03-10 11:10:57 EST
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):
How reproducible: always
Steps to Reproduce:
1. readelf --all /bin/date
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
Apparenly you haven't tried readelf -Ds
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.