bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22983] --dynamic-list=export is ignored in presence of -flto


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22983] --dynamic-list=export is ignored in presence of -flto
Date: Tue, 20 Mar 2018 11:21:07 +0000

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

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

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

commit 7c78c26eefbb884e63817abe01e2941601e70837
Author: H.J. Lu <address@hidden>
Date:   Tue Mar 20 03:51:26 2018 -0700

    Set non_ir_ref_dynamic if a symbol is made dynamic

    If a symbol is made dynamic by --dynamic-list, it has non-IR reference.

    bfd/

        PR ld/22983
        * elflink.c (bfd_elf_link_mark_dynamic_symbol): Set
        non_ir_ref_dynamic if a symbol is made dynamic by --dynamic-list.

    ld/

        PR ld/22983
        * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test.
        * testsuite/ld-plugin/pr22983.d: New file.
        * testsuite/ld-plugin/pr22983.t: Likewise.
        * testsuite/ld-plugin/pr22983a.c: Likewise.
        * testsuite/ld-plugin/pr22983b.c: Likewise.

    (cherry picked from commit 416c34d683f2a17aefe19afb466af4316c7c603b)

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