From 7d409ac001cce916661d345bff01ed589991e762 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 4 Feb 2021 13:56:34 +1030 Subject: PR27311, (symbol from plugin): undefined reference, hidden sym bfd/ PR 27311 * elflink.c (elf_link_add_object_symbols): Don't pull in as-needed libraries for IR references on pass over libraries after LTO recompilation. ld/ * testsuite/ld-plugin/pr27311d.c: New test. * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile and link new test as pr27311-2. --- ld/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ld/ChangeLog') diff --git a/ld/ChangeLog b/ld/ChangeLog index e5f9bea..cf5217b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2021-02-04 Alan Modra + + * testsuite/ld-plugin/pr27311d.c: New test. + * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile + and link new test as pr27311-2. + 2021-02-03 Alan Modra * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so): -- cgit v1.1