PR ld/12845
commit7ab1d000c11675aaea3b078e3e2a6cd3f1beaa08
authorNick Clifton <nickc@redhat.com>
Thu, 9 Jun 2011 10:36:18 +0000 (9 10:36 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 9 Jun 2011 10:36:18 +0000 (9 10:36 +0000)
tree13508dbb29dc1c905ebf0aa06c9f134dd5479a10
parent4f4c49ca3aa183f902c654eec3f521d4b1c108f3
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