]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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:09:46 +0000 (15:39 +1030)
commit72f758d066732d56d50851a97dd67a31f331e2b3
treedab9c13ad4466fbed95fb7ff91abccdd648dc582
parenta100742060a3d12d000c57f19358b3471b9aba76
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