From: Alan Modra Date: Wed, 23 May 2012 04:35:31 +0000 (+0000) Subject: PR ld/13909 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=259b427a20f9b3e772817401549b62c85bdbb56c;p=binutils-gdb.git PR ld/13909 * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs. --- 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) {