PR27311 again, ld.bfd (symbol from plugin): undefined reference
authorAlan Modra <amodra@gmail.com>
Wed, 3 Feb 2021 00:27:12 +0000 (10:57 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 3 Feb 2021 02:39:47 +0000 (13:09 +1030)
commit6955136728a68365bbb5e6e1327dff1654b2a0ca
treec52f47d2261eec78034e0c89952a8d64a2603965
parenta71501e25ff14918d7876f4905be0df9dd3ae29a
PR27311 again, ld.bfd (symbol from plugin): undefined reference

bfd/
PR 27311
* elflink.c (_bfd_elf_add_default_symbol): Clear override when
undecorated symbol will have a different version.
ld/
* testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
Link with --as-needed.
bfd/ChangeLog
bfd/elflink.c
ld/ChangeLog
ld/testsuite/ld-ifunc/ifunc.exp