aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-01-29 04:56:39 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-01-29 04:56:39 -0800
commit716db898b72787d0d342c639c421cdd97f3afe9c (patch)
tree38e52be4f0624c8a55843e73781473e4e56b063d /ld/ldmain.c
parent38360086aea4f956dcd4ba406318595ea11f7dea (diff)
downloadgdb-716db898b72787d0d342c639c421cdd97f3afe9c.zip
gdb-716db898b72787d0d342c639c421cdd97f3afe9c.tar.gz
gdb-716db898b72787d0d342c639c421cdd97f3afe9c.tar.bz2
Remove plugin_active_plugins_p()
Replace plugin_active_plugins_p() with link_info.lto_plugin_active. * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() with link_info.lto_plugin_active. * ldlang.c (lang_process): Likewise. * ldmain.c (add_archive_element): Likewise. * plugin.c (plugin_active_plugins_p): Removed. * plugin.h (plugin_active_plugins_p): Likewise.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index a6207c6..86f02a6 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -790,7 +790,7 @@ add_archive_element (struct bfd_link_info *info,
BFD, but we still want to output the original BFD filename. */
orig_input = *input;
#ifdef ENABLE_PLUGINS
- if (plugin_active_plugins_p () && !no_more_claiming)
+ if (link_info.lto_plugin_active && !no_more_claiming)
{
/* We must offer this archive member to the plugins to claim. */
const char *filename = (bfd_my_archive (abfd) != NULL