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

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_31-branch branch has been updated by H.J. Lu
<h...@sourceware.org>:

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

commit 2c4995ba2b4b1182ce3b228152f697c55a0ff9fb
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Thu Jul 5 04:33:11 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.

    (cherry picked from commit 94d401b8b88a76b1372ce44e805516756a4f737b)

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