From 1a3b5c34fe371f618402f811a981839c9191ff9f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 28 Sep 2017 17:11:38 +0930 Subject: PR22220, BFD linker wrongly marks symbols as PREVAILING_DEF_IRONLY non_ir_ref_dynamic wasn't being set in the case where we have a versioned dynamic symbol definition with a non-versioned matching IR symbol. bfd/ PR 22220 * elflink.c (_bfd_elf_merge_symbol): Set non_ir_ref_dynamic in a case where plugin_notice isn't called. ld/ * testsuite/ld-plugin/pr22220.h, * testsuite/ld-plugin/pr22220lib.cc, * testsuite/ld-plugin/pr22220lib.ver, * testsuite/ld-plugin/pr22220main.cc: New test. * testsuite/ld-plugin/lto.exp: Run it. --- ld/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ld/ChangeLog') diff --git a/ld/ChangeLog b/ld/ChangeLog index 0ccc02b..d671ed1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2017-09-28 Alan Modra + + * testsuite/ld-plugin/pr22220.h, + * testsuite/ld-plugin/pr22220lib.cc, + * testsuite/ld-plugin/pr22220lib.ver, + * testsuite/ld-plugin/pr22220main.cc: New test. + * testsuite/ld-plugin/lto.exp: Run it. + 2017-09-26 Maciej W. Rozycki * testsuite/ld-undefined/undefined.exp: Correct the dyn reloc -- cgit v1.1