aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-08-18 09:33:35 +0930
committerAlan Modra <amodra@gmail.com>2014-08-18 09:33:35 +0930
commit759388538d1339f6a634b2777e24f46427dd9c96 (patch)
tree7476c5a31a0fe3ebf289411c3b02897a4f6d6211 /bfd/stabs.c
parentCast result of TC_PARSE_CONS_EXPRESSION (diff)
downloadbinutils-gdb-759388538d1339f6a634b2777e24f46427dd9c96.tar.gz
binutils-gdb-759388538d1339f6a634b2777e24f46427dd9c96.tar.bz2
binutils-gdb-759388538d1339f6a634b2777e24f46427dd9c96.zip
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/stabs.c')
-rw-r--r--bfd/stabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/stabs.c b/bfd/stabs.c
index 784eb977e19..e6526c5148b 100644
--- a/bfd/stabs.c
+++ b/bfd/stabs.c
@@ -536,7 +536,7 @@ _bfd_discard_section_stabs (bfd *abfd,
link, so we should just ignore them. */
return FALSE;
- /* We should have initialized our data in _bfd_link_stab_sections.
+ /* We should have initialized our data in _bfd_link_section_stabs.
If there was some bizarre error reading the string sections, though,
we might not have. Bail rather than asserting. */
if (psecinfo == NULL)