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

--- Comment #4 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 <h...@sourceware.org>:

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

commit 94d401b8b88a76b1372ce44e805516756a4f737b
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Jul 4 06:27:58 2018 -0700

    ld: Set non_ir_ref_regular for --undefined SYMBOL

    Set non_ir_ref_regular to TRUE for symbols forced into the output file
    so that they won't be removed by garbage collection with LTO.

        PR ld/23309
        * ldlang.c (insert_undefined): Set non_ir_ref_regular to TRUE.
        * plugin.c (is_visible_from_outside): Don't scan entry_symbol.
        * testsuite/ld-plugin/pr23309.c: New file.
        * testsuite/ld-plugin/pr23309.d: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to