forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user