PR ld/13909

* elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs.
This commit is contained in:
Alan Modra 2012-05-23 04:35:31 +00:00
parent 426ed5df02
commit 259b427a20
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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)
{