PR ld/12845
authorNick Clifton <nickc@redhat.com>
Thu, 9 Jun 2011 10:36:20 +0000 (10:36 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 9 Jun 2011 10:36:20 +0000 (10:36 +0000)
commitba85c43e2c325ceb90f8716fa9a05590c32aef5d
tree4addccc0d288815b3722e8cd3f644cd64ebf8f1f
parentc56791bbad4c8e1e0afbf6b3ae4a5d7e91ee8742
PR ld/12845
* elf.c (_bfd_elf_init_private_section_data): Add an assertion
that the output section has an allocated bfd_elf_section_data
structure.
* elfxx-mips.c (mips_elf_check_symbols): Do not create a stub for
symbols in sections that have been removed by garbage collection.

* emultempl/mipself.em (mips_add_stub_section): Do not add stubs
for sections that have been removed by garbage collection.
bfd/ChangeLog
bfd/elf.c
bfd/elfxx-mips.c
ld/ChangeLog
ld/emultempl/mipself.em