bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23818] Symbols from discarded section in IR object leaked into f


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/23818] Symbols from discarded section in IR object leaked into final executable
Date: Thu, 25 Oct 2018 01:14:59 +0000

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

--- Comment #1 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=0a640d719684f25bdb88ae60148c6978e6131701

commit 0a640d719684f25bdb88ae60148c6978e6131701
Author: H.J. Lu <address@hidden>
Date:   Wed Oct 24 18:08:13 2018 -0700

    ELF: Hide symbols defined in discarded input sections

    When assigning symbol version, we should hide debug symbols defined in
    discarded sections from IR objects so that they can be removed later.

    bfd/

        PR ld/23818
        * elflink.c (_bfd_elf_link_assign_sym_version): Hide symbols
        defined in discarded input sections.

    ld/

        PR ld/23818
        * testsuite/ld-plugin/lto.exp: Run PR ld/23818 test.
        * testsuite/ld-plugin/pr23818.d: New file.
        * testsuite/ld-plugin/pr23818.t: Likewise.
        * testsuite/ld-plugin/pr23818a.c: Likewise.
        * testsuite/ld-plugin/pr23818b.c: 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]