diff options
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index 21bdbf4..d4f7cb4 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -142,6 +142,9 @@ ldfile_try_open_bfd (const char *attempt, /* Linker needs to decompress sections. */ entry->the_bfd->flags |= BFD_DECOMPRESS; + /* This is a linker input BFD. */ + entry->the_bfd->is_linker_input = 1; + #ifdef ENABLE_PLUGINS if (entry->flags.lto_output) entry->the_bfd->lto_output = 1; |