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: Fri, 12 Jan 2018 10:47:51 +0000

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

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

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

commit 87e79a6515951fece72ee08871dd6e112b1042ba
Author: Alan Modra <address@hidden>
Date:   Fri Jan 12 16:58:04 2018 +1030

    Fixes for "Ignore dynamic references on forced local symbols"

    PowerPC64 has its own mark_dynamic_ref, which needs the same change as
    made by d664fd41e1 to the generic ELF version.  Some other targets
    discard more than just .data, so allow for that too in expected ld
    messages.

    bfd/
        PR ld/22649
        * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
        references on forced local symbols.
    ld/
        PR ld/22649
        * testsuite/ld-elf/pr22649.msg: Allow other messages.
        * testsuite/ld-elf/shared.exp: Check that --gc-sections is
        supported before running 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]