projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add compressed debug section support to binutils and ld.
[deliverable/binutils-gdb.git]
/
ld
/
emultempl
/
elf32.em
diff --git
a/ld/emultempl/elf32.em
b/ld/emultempl/elf32.em
index c8682ae6fefdc483ab4716ac001dbabc754c50f0..1950efec0e3b9768ba4f953fd723eb0d475c8501 100644
(file)
--- a/
ld/emultempl/elf32.em
+++ b/
ld/emultempl/elf32.em
@@
-317,6
+317,10
@@
gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
abfd = bfd_openr (name, bfd_get_target (link_info.output_bfd));
if (abfd == NULL)
return FALSE;
+
+ /* Linker needs to decompress sections. */
+ abfd->flags |= BFD_DECOMPRESS;
+
if (! bfd_check_format (abfd, bfd_object))
{
bfd_close (abfd);
This page took
0.024855 seconds
and
4
git commands to generate.