[PATCH 0/2] Improve RELR reloc display in readelf

Szabolcs Nagy szabolcs.nagy@arm.com
Wed May 29 09:01:06 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.

Szabolcs Nagy (2):
  readelf: Fix symbol display for RELR relocs
  readelf: Use section names for displaying RELR relocs

 binutils/readelf.c | 157 +++++++++++++++++++++++++++++++++++++++------
 1 file changed, 136 insertions(+), 21 deletions(-)

-- 
2.25.1



More information about the Binutils mailing list