bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/18914] Shared lib created using static libs and "-Wl,--exclude-l


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/18914] Shared lib created using static libs and "-Wl,--exclude-libs,ALL" export uninitialized variables
Date: Mon, 05 Oct 2015 21:49:28 +0000

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

--- 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=a0d49154d4a471cd36954408b29a348a091efaa3

commit a0d49154d4a471cd36954408b29a348a091efaa3
Author: H.J. Lu <address@hidden>
Date:   Mon Oct 5 14:45:17 2015 -0700

    Don't re-export common symbols

    For ELF linker, a common symbol isn't a definition.  When we decide if a
    symbol should be re-exported, we should check if the symbol isn't
    undefined, not if it is a definition.

    bfd/

        PR ld/18914
        * elflink.c (elf_link_add_object_symbols): Don't re-export a
        symbol if it isn't undefined.

    ld/testsuite/

        PR ld/18914
        * ld-elf/exclude.exp: Also check exclude_common.
        * ld-elf/exclude2.s: Add exclude_common.

-- 
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]