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/ldfile.c | |
parent | 38360086aea4f956dcd4ba406318595ea11f7dea (diff) | |
download | gdb-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/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index f33bc9d..c9c9541 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -302,7 +302,7 @@ success: will be needed when and if we want to bfd_create a new one using this one as a template. */ if (bfd_check_format (entry->the_bfd, bfd_object) - && plugin_active_plugins_p () + && link_info.lto_plugin_active && !no_more_claiming) { int fd = open (attempt, O_RDONLY | O_BINARY); |