https://sourceware.org/bugzilla/show_bug.cgi?id=33328

--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f83ec9ae4a854cc9ba453e88cc7621de5a7a5091

commit f83ec9ae4a854cc9ba453e88cc7621de5a7a5091
Author: H.J. Lu <[email protected]>
Date:   Wed Aug 27 13:17:07 2025 -0700

    readelf: Update "-D -r" to dump DT_RELR

    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 <[email protected]>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to