bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined r


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors
Date: Mon, 14 Feb 2022 04:37:03 +0000

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

--- Comment #13 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 <hjl@sourceware.org>:

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

commit 20ea3acc727f3be6322dfbd881e506873535231d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 11 15:13:19 2022 -0800

    ld: Keep indirect symbol from IR if referenced from shared object

    Don't change indirect symbol defined in IR to undefined if it is
    referenced from shared object.

    bfd/

            PR ld/28879
            * elflink.c (_bfd_elf_merge_symbol): Don't change indirect
            symbol defined in IR to undefined if it is referenced from
            shared object.

    ld/

            PR ld/28879
            * testsuite/ld-plugin/lto.exp: Run PR ld/28879 tests.
            * testsuite/ld-plugin/pr28879a.cc: New file.
            * testsuite/ld-plugin/pr28879b.cc: 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]