diff options
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index bb83854..ad8493b 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -28,7 +28,7 @@ #include "safe-ctype.h" #include "libiberty.h" #include "objalloc.h" -#ifdef BFD_SUPPORTS_PLUGINS +#if BFD_SUPPORTS_PLUGINS #include "plugin.h" #endif @@ -3134,7 +3134,7 @@ elf_link_is_defined_archive_symbol (bfd * abfd, carsym * symdef) object file is an IR object, give linker LTO plugin a chance to get the correct symbol table. */ if (abfd->plugin_format == bfd_plugin_yes -#ifdef BFD_SUPPORTS_PLUGINS +#if BFD_SUPPORTS_PLUGINS || (abfd->plugin_format == bfd_plugin_unknown && bfd_link_plugin_object_p (abfd)) #endif |