[PATCH 0/2] Fix PR 32589

Indu Bhagat indu.bhagat@oracle.com
Mon Feb 17 16:58:20 GMT 2025


Hi,

These two patches help fix PR 32589.

Regression tested on various x86_64 and aarch64 targets.  Also, hand
tested some specific cases.  In next work, we will add another ld
testcase after fixing PR 32666  Incorrect .rela.sframe when using ld -r.

Thanks,
Indu Bhagat (2):
  libsframe: add new dump_sframe_reloc
  objdump, readelf: sframe: apply relocations before textual dump

 binutils/dwarf.c                              | 36 ++++++++++++
 binutils/dwarf.h                              |  1 +
 binutils/objdump.c                            | 55 +++++++------------
 binutils/readelf.c                            | 48 +++-------------
 .../cfi-sframe-aarch64-pac-ab-key-1.d         |  8 +--
 include/sframe-api.h                          |  5 ++
 libsframe/libsframe.ver                       |  1 +
 libsframe/libtool-version                     |  2 +-
 libsframe/sframe-dump.c                       | 13 +++++
 libsframe/sframe-impl.h                       |  2 +
 libsframe/sframe.c                            | 31 +++++++++++
 11 files changed, 121 insertions(+), 81 deletions(-)

-- 
2.43.0



More information about the Binutils mailing list