diff options
author | Alan Modra <amodra@gmail.com> | 2014-08-12 10:31:41 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-08-12 10:31:41 +0930 |
commit | 61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27 (patch) | |
tree | 263819710f1f69db79253b1253e037843e69531e /ld/plugin.c | |
parent | d769e349bc2c28261d4b2391b58eb7dc3f452e99 (diff) | |
download | binutils-61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27.zip binutils-61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27.tar.gz binutils-61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27.tar.bz2 |
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.
Diffstat (limited to 'ld/plugin.c')
-rw-r--r-- | ld/plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/plugin.c b/ld/plugin.c index f10c273..8d6ae05 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -841,6 +841,7 @@ plugin_load_plugins (void) plugin_callbacks = *orig_callbacks; plugin_callbacks.notice = &plugin_notice; link_info.notice_all = TRUE; + link_info.lto_plugin_active = TRUE; link_info.callbacks = &plugin_callbacks; } |