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

--- Comment #21 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@sourceware.org>:

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

commit 5f9bf0cf711a153a0a20d6ff88181e9a6775bdba
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Sun Jul 13 04:56:16 2025 +0800

    sframe: Allow input R_*_NONE relocations

    "ld -r" generates R_*_NONE relocations in sframe section if input
    relocations in sframe section are against discarded section.  Allow
    input R_*_NONE relocations if there are more relocation entries than
    SFrame entries, instead of assuming number of SFrame entries == number
    of relocation entries.

    bfd/

            PR ld/33127
            * elf-sframe.c (sframe_decoder_init_func_bfdinfo): Allow input
            R_*_NONE relocations if there are more relocation entries than
            SFrame entries.

    ld/

            PR ld/33127
            * testsuite/ld-x86-64/sframe-reloc-2a.s: New file.
            * testsuite/ld-x86-64/sframe-reloc-2b.s: Likewise.
            * testsuite/ld-x86-64/x86-64.exp: Run PR ld/33127 tests.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

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

Reply via email to