bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20528] ld -r doesn't handle SHF_EXCLUDE section properly


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20528] ld -r doesn't handle SHF_EXCLUDE section properly
Date: Thu, 29 Sep 2016 20:00:14 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit 93dc595d7659a8cf224a9fc33aa9071f38328334
Author: H.J. Lu <address@hidden>
Date:   Thu Sep 29 12:58:29 2016 -0700

    Don't merge 2 sections with different SHF_EXCLUDE

    SEC_EXCLUDE is ignored when doing a relocatable link.  But we can't
    merge 2 input sections with the same name when only one of them has
    SHF_EXCLUDE.

        PR ld/20528
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        merge 2 sections with different SHF_EXCLUDE.
        * testsuite/ld-elf/pr20528a.d: New file.
        * testsuite/ld-elf/pr20528a.s: Likewise.
        * testsuite/ld-elf/pr20528b.d: Likewise.
        * testsuite/ld-elf/pr20528b.s: Likewise.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]