diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-01-29 04:56:39 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-01-29 04:56:39 -0800 |
commit | 716db898b72787d0d342c639c421cdd97f3afe9c (patch) | |
tree | 38e52be4f0624c8a55843e73781473e4e56b063d /ld/plugin.c | |
parent | 38360086aea4f956dcd4ba406318595ea11f7dea (diff) | |
download | binutils-716db898b72787d0d342c639c421cdd97f3afe9c.zip binutils-716db898b72787d0d342c639c421cdd97f3afe9c.tar.gz binutils-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/plugin.c')
-rw-r--r-- | ld/plugin.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ld/plugin.c b/ld/plugin.c index 2b79e1a..cfbca0b 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) |