Fix --as-needed undefined symbol references from dynamic libraries.
authorAlan Modra <amodra@gmail.com>
Sun, 8 Dec 2013 04:56:12 +0000 (15:26 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 8 Dec 2013 05:03:29 +0000 (15:33 +1030)
commit68c88cd461b697243d5a303997dad273dd4274ce
treee70f8659367f4f3fe8e9e23953f179d5fc2423bc
parent0c2242c1929a61f5fcc7ed2f6ee56a1d369ea91a
Fix --as-needed undefined symbol references from dynamic libraries.

libx.so refers to some_sym, liby.so provides some_sym@some_version
wasn't seen as satisfying the reference.

* elf64-ppc.c (_bfd_elf_add_default_symbol): Set dynamic_def
and ref_dynamic_nonweak when chaining together indirect
symbols.
bfd/ChangeLog
bfd/elflink.c