Fix non-plugin warning symbol handling
authorAlan Modra <amodra@gmail.com>
Tue, 12 Aug 2014 01:01:41 +0000 (10:31 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 12 Aug 2014 01:01:41 +0000 (10:31 +0930)
commit61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27
tree263819710f1f69db79253b1253e037843e69531e
parentd769e349bc2c28261d4b2391b58eb7dc3f452e99
Fix non-plugin warning symbol handling

PR ld/16746
include/
* bfdlink.h (struct bfd_link_info): Add lto_plugin_active.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol <WARN>): Handle
!lto_plugin_active.
ld/
* plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.
bfd/linker.c
include/bfdlink.h
ld/plugin.c