From 259b427a20f9b3e772817401549b62c85bdbb56c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 23 May 2012 04:35:31 +0000 Subject: [PATCH] PR ld/13909 * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs. --- bfd/ChangeLog | 5 +++++ bfd/elflink.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 88030e74388..dd15034934f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-05-23 Alan Modra + + PR ld/13909 + * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs. + 2012-05-22 H.J. Lu PR ld/13909 diff --git a/bfd/elflink.c b/bfd/elflink.c index f18b9df923e..7722fb5d895 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) { -- 2.30.2