aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 88030e7..dd15034 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-23 Alan Modra <amodra@gmail.com>
+
+ PR ld/13909
+ * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs.
+
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13909
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)
{