Don't output symbol version definitions for non-DT_NEEDED libs
authorAlan Modra <amodra@gmail.com>
Thu, 27 Nov 2014 04:46:49 +0000 (15:16 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 30 Nov 2014 01:41:03 +0000 (12:11 +1030)
commit7b20f09964ba4275768350a24fca109527a19425
tree15e3d66f80c57aaaebb1676dc7518f6f29c54873
parentb6a8f012d1813271c74cbc49545a27a2e8781fc0
Don't output symbol version definitions for non-DT_NEEDED libs

PR 16452, 16457
* elflink.c (_bfd_elf_link_find_version_dependencies): Exclude
symbols from libraries that won't be listed in DT_NEEDED.
(elf_link_output_extsym): Don't output verdefs for such symbols.
bfd/ChangeLog
bfd/elflink.c