bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22649] -gc-sections preserves hidden symbols that are also visib


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22649] -gc-sections preserves hidden symbols that are also visible in dynamic objects
Date: Thu, 11 Jan 2018 23:38:02 +0000

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

--- Comment #2 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=d664fd41e15f058aab41b70c567ad09f2fab1115

commit d664fd41e15f058aab41b70c567ad09f2fab1115
Author: H.J. Lu <address@hidden>
Date:   Thu Jan 11 15:36:40 2018 -0800

    Ignore dynamic references on forced local symbols

    We should ignore dynamic references on forced local symbols during
    garbage collection since they can never be referenced dynamically.

    bfd/

        PR ld/22649
        * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
        references on forced local symbols.

    ld/

        PR ld/22649
        * testsuite/ld-elf/pr22649-1.s: New file.
        * testsuite/ld-elf/pr22649-2a.s: Likewise.
        * testsuite/ld-elf/pr22649-2b.s: Likewise.
        * testsuite/ld-elf/pr22649.msg: Likewise.
        * testsuite/ld-elf/shared.exp: Run ld/22649 tests.

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