aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r--ld/ldfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 5bbe1d8..96a3856 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -313,7 +313,8 @@ 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 ())
+ && plugin_active_plugins_p ()
+ && !no_more_claiming)
{
int fd = open (attempt, O_RDONLY | O_BINARY);
if (fd >= 0)