aboutsummaryrefslogtreecommitdiff
path: root/r/n|$
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-08-27 13:17:07 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-08-27 18:07:50 -0700
commitf83ec9ae4a854cc9ba453e88cc7621de5a7a5091 (patch)
tree03e1d3aee33a5bdfb6af351e208bf774e64860cc /r/n|$
parent83679675ce5d991f121262c7c786b1aa913404bb (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
readelf: Update "-D -r" to dump DT_RELRHEADmaster
1. Update dump_relr_relocations to take relr_size, relr_entsize and relr_offset, instead of a pointer to Elf_Internal_Shdr, as function arguments. 2. Update process_relocs to call dump_relr_relocations if relocation type is reltype_relr. binutils/ PR binutils/33328 * readelf.c (dump_relr_relocations): Replace a pointer to Elf_Internal_Shdr argument with relr_size, relr_entsize and relr_offset. (display_relocations): Update the dump_relr_relocations call. (process_relocs): Call dump_relr_relocations if relocation type is reltype_relr. ld/ PR binutils/33328 * testsuite/ld-i386/dt-relr-1c.d: New file. * testsuite/ld-i386/dt-relr-1d.d: Likewise. * testsuite/ld-x86-64/dt-relr-1c-x32.d: Likewise. * testsuite/ld-x86-64/dt-relr-1c.d: Likewise. * testsuite/ld-x86-64/dt-relr-1d-x32.d: Likewise. * testsuite/ld-x86-64/dt-relr-1d.d: Likewise. * testsuite/ld-i386/i386.exp: Run PR binutils/33328 tests. * testsuite/ld-x86-64/x86-64.exp: Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'r/n|$')
0 files changed, 0 insertions, 0 deletions