|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors |
Date: | Wed, 16 Feb 2022 13:15:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #14 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The binutils-2_38-branch branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6aa1b7df2fc435ba1b744f20db5c6d3013496249 commit 6aa1b7df2fc435ba1b744f20db5c6d3013496249 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. (cherry picked from commit 20ea3acc727f3be6322dfbd881e506873535231d) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |