summaryrefslogtreecommitdiff
path: root/ld/plugin.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/plugin.c
parent38360086aea4f956dcd4ba406318595ea11f7dea (diff)
downloadbinutils-gdb-716db898b72787d0d342c639c421cdd97f3afe9c.tar.gz
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/plugin.c')
-rw-r--r--ld/plugin.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ld/plugin.c b/ld/plugin.c
index 2b79e1a002d..cfbca0b102f 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -791,14 +791,6 @@ set_tv_plugin_args (plugin_t *plugin, struct ld_plugin_tv *tv)
tv->tv_u.tv_val = 0;
}
-/* Return true if any plugins are active this run. Only valid
- after options have been processed. */
-bfd_boolean
-plugin_active_plugins_p (void)
-{
- return plugins_list != NULL;
-}
-
/* Load up and initialise all plugins after argument parsing. */
void
plugin_load_plugins (void)