bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24486] ld shouldn't complain undefined weak reference


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24486] ld shouldn't complain undefined weak reference
Date: Fri, 26 Apr 2019 14:52:59 +0000

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

--- Comment #1 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=c54f15248ee990df6cea0b4730cd61b227a0e082

commit c54f15248ee990df6cea0b4730cd61b227a0e082
Author: H.J. Lu <address@hidden>
Date:   Fri Apr 26 07:52:00 2019 -0700

    Don't complain undefined weak dynamic reference

    When undefined non-weak references in IR objects are optimized out
    by LTO, we can have weak dynamic referencs to symbols marked with
    bfd_link_hash_undefined.  We shouldn't complain such undefined weak
    dynamic references.

    bfd/

        PR ld/24486
        * elflink.c (elf_link_output_extsym): Don't complain undefined
        weak dynamic reference.

    ld/

        PR ld/24486
        * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
        * testsuite/ld-plugin/pr24486a.c: New file.
        * testsuite/ld-plugin/pr24486b.c: Likewise.
        * testsuite/ld-plugin/pr24486c.c: Likewise.

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