Return error status from bfd_elf_discard_info.
authorAlan Modra <amodra@gmail.com>
Mon, 18 Aug 2014 00:03:35 +0000 (09:33 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 18 Aug 2014 00:03:35 +0000 (09:33 +0930)
commit759388538d1339f6a634b2777e24f46427dd9c96
tree7476c5a31a0fe3ebf289411c3b02897a4f6d6211
parent1e53931944810798e6741f664bd3ec727272fe11
Return error status from bfd_elf_discard_info.

bfd/
* elflink.c (bfd_elf_discard_info): Return int error status.
* stabs.c (_bfd_discard_section_stabs): Comment typo fix.
* bfd-in.h (bfd_elf_discard_info): Updata prototype.
* bfd-in2.h: Regenerate.
ld/
* emultempl/aarch64elf.em (gld${EMULATION_NAME}_after_allocation):
Handle error status from bfd_elf_discard_info.
* emultempl/armelf.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/metagelf.em: Likewise.
* emultempl/nios2elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/tic6xdsbt.em: Likewise.
* emultempl/vms.em: Likewise.
15 files changed:
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elflink.c
bfd/stabs.c
ld/ChangeLog
ld/emultempl/aarch64elf.em
ld/emultempl/armelf.em
ld/emultempl/elf32.em
ld/emultempl/hppaelf.em
ld/emultempl/metagelf.em
ld/emultempl/nios2elf.em
ld/emultempl/ppc64elf.em
ld/emultempl/tic6xdsbt.em
ld/emultempl/vms.em