[PATCH v2 0/2] Improve RELR reloc display in readelf
Szabolcs Nagy
szabolcs.nagy@arm.com
Wed May 29 14:44:00 GMT 2024
This is needed on aarch64 for reasonable ld tests for DT_RELR support.
Otherwise we end up with relr entries that symbolize either as a mapping
symbol $d or real symbol for the same address depending on tiny changes
to the symbol table or to the qsort algorithm.
v2:
- new is_special_symbol_name.
- fix is_aarch64_special_symbol_name.
- don't check for '.' in section name.
Szabolcs Nagy (2):
readelf: Fix symbol display for RELR relocs
readelf: Use section names for displaying RELR relocs
binutils/readelf.c | 164 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 144 insertions(+), 20 deletions(-)
--
2.25.1
More information about the Binutils
mailing list