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, 3 insertions, 0 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 1732885..701b380 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -150,6 +150,9 @@ ldfile_try_open_bfd (const char *attempt,
return FALSE;
}
+ /* Linker needs to decompress sections. */
+ entry->the_bfd->flags |= BFD_DECOMPRESS;
+
/* If we are searching for this file, see if the architecture is
compatible with the output file. If it isn't, keep searching.
If we can't open the file as an object file, stop the search