Bug 444621
| Summary: | RFE: list symbols in DT_HASH ad DT_GNU_HASH tables (implement eu-readelf -D) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
| Component: | elfutils | Assignee: | Mark Wielaard <mjw> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | fweimer, mjw, mpolacek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | elfutils-0.190-1.fc39 elfutils-0.190-1.fc38 elfutils-0.190-1.fc37 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-10 01:45:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
John Reiser
2008-04-29 15:57:05 UTC
binutils readelf has the -D option, e.g. -D -s Would the same feature in eu-readelf meet the need? I'd like an "independent" confirmation about which symbols are pointed to by the DT_GNU_HASH table. binutils "readelf -D -s" claims to list what is in the ElfXX_Section .gnu.hash, which is not necessarily the same as what is in the DT_GNU_HASH table. Perhaps it is expected and/or intended that .gnu.hash correspond to DT_GNU_HASH, but I'm worried about bugs. It may not be documented clearly, but the actual implementation of -D in
binutils readelf uses PT_DYNAMIC->DT_* for DT_{GNU_,}HASH, DT_SYMTAB, DT_RELA,
etc., rather than going from section headers as normal An eu-readelf -D would
do the same.
Generating the output using PT_DYNAMIC->DT_* for DT_{GNU_,}HASH, DT_SYMTAB, etc.
is fine. What is not OK is using any ElfXX_Section info, except possibly as a
comment such as "DT_SYMTAB matches {.gnu.hash}.sh_offset".
FEDORA-2023-70de8a8207 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-70de8a8207 FEDORA-2023-70de8a8207 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-70de8a8207` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-70de8a8207 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-70de8a8207 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-0568d68196 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0568d68196 FEDORA-2023-0862a2ca46 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0862a2ca46 FEDORA-2023-0568d68196 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0568d68196` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0568d68196 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-0862a2ca46 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0862a2ca46` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0862a2ca46 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-0568d68196 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-0862a2ca46 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |