aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-05-23 04:35:31 +0000
committerAlan Modra <amodra@gmail.com>2012-05-23 04:35:31 +0000
commit259b427a20f9b3e772817401549b62c85bdbb56c (patch)
tree686857d1fc5a0a96256bfbe68cc7655bbab55b0b /bfd/elflink.c
parent426ed5df02d7d1c4af4810824272b4ae84a19ef9 (diff)
downloadgdb-259b427a20f9b3e772817401549b62c85bdbb56c.zip
gdb-259b427a20f9b3e772817401549b62c85bdbb56c.tar.gz
gdb-259b427a20f9b3e772817401549b62c85bdbb56c.tar.bz2
PR ld/13909
* elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index f18b9df..7722fb5 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -12482,9 +12482,6 @@ bfd_elf_discard_info (bfd *output_bfd, struct bfd_link_info *info)
bed = get_elf_backend_data (abfd);
- if ((abfd->flags & DYNAMIC) != 0)
- continue;
-
eh = NULL;
if (!info->relocatable)
{