diff options
author | Alan Modra <amodra@gmail.com> | 2017-09-28 17:11:38 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-09-28 22:50:31 +0930 |
commit | ce94efcee97180303d98ce96e40c9bc45f405cee (patch) | |
tree | ff9a928fa3dc6403b3217f5a55aaa0494f5e929c /.gitattributes | |
parent | d0be41fe4082db1ebb1c20e8ed118ead79cb3e03 (diff) | |
download | gdb-ce94efcee97180303d98ce96e40c9bc45f405cee.zip gdb-ce94efcee97180303d98ce96e40c9bc45f405cee.tar.gz gdb-ce94efcee97180303d98ce96e40c9bc45f405cee.tar.bz2 |
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.
(cherry picked from commit 1a3b5c34fe371f618402f811a981839c9191ff9f)
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions