diff options
author | Alan Modra <amodra@gmail.com> | 2014-08-18 09:33:35 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-08-18 09:33:35 +0930 |
commit | 759388538d1339f6a634b2777e24f46427dd9c96 (patch) | |
tree | 7476c5a31a0fe3ebf289411c3b02897a4f6d6211 /bfd/bfd-in.h | |
parent | 1e53931944810798e6741f664bd3ec727272fe11 (diff) | |
download | gdb-759388538d1339f6a634b2777e24f46427dd9c96.zip gdb-759388538d1339f6a634b2777e24f46427dd9c96.tar.gz gdb-759388538d1339f6a634b2777e24f46427dd9c96.tar.bz2 |
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.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 83f125b..bcb9fdc 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -658,7 +658,7 @@ extern int bfd_elf_get_dyn_lib_class (bfd *); extern struct bfd_link_needed_list *bfd_elf_get_runpath_list (bfd *, struct bfd_link_info *); -extern bfd_boolean bfd_elf_discard_info +extern int bfd_elf_discard_info (bfd *, struct bfd_link_info *); extern unsigned int _bfd_elf_default_action_discarded (struct bfd_section *); |