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

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

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

commit 67bffda3bff903a78874c303a3d7823899bd555e
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Thu Mar 13 11:52:00 2025 -0700

    elf: Clear the SEC_ALLOC bit for NOLOAD note sections

    When generating an ELF output file, if a note section is marked as
    NOLOAD, clear the SEC_ALLOC bit so that it won't be treated as an
    SHF_ALLOC section, like a .bss style section.

            PR ld/32787
            * ld.texi: Update NOLOAD for ELF output files.
            * ldlang.c (lang_add_section): Clear the SEC_ALLOC bit for NOLOAD
            note sections for ELF output files.
            * testsuite/ld-elf/pr32787.d: New file.
            * testsuite/ld-elf/pr32787.t: Likewise.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>
    (cherry picked from commit d87be451ebbf831d44ac168ca9ea2b79ab5a79b3)

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

Reply via email to