diff options
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index 05889f2..e19f55e 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -301,9 +301,9 @@ success: bfd_object that it sets the bfd's arch and mach, which 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) - && link_info.lto_plugin_active - && !no_more_claiming) + if (link_info.lto_plugin_active + && !no_more_claiming + && bfd_check_format (entry->the_bfd, bfd_object)) plugin_maybe_claim (entry); #endif /* ENABLE_PLUGINS */ |