summaryrefslogtreecommitdiff
path: root/bfd/coff-i860.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2011-01-14 12:35:55 +0000
committerAlan Modra <amodra@bigpond.net.au>2011-01-14 12:35:55 +0000
commit3ac3fa5a79682d8ab527af6f3943fed987e0ebdb (patch)
tree4f34976a93bebbbd9d36f6d40a127780a1623da1 /bfd/coff-i860.c
parent6ff1db083d3a9acc09c3cbdc23d73399d3c3ad2b (diff)
downloadbinutils-redhat-3ac3fa5a79682d8ab527af6f3943fed987e0ebdb.tar.gz
* bfd.c (bfd_perror): Flush stdout before and stderr after printing
error. (_bfd_default_error_handler): Likewise. * elf.c (print_segment_map): Likewise. * libbfd.c (warn_deprecated): Likewise. * som.c (som_sizeof_headers): No need to do so here. * coff-i860.c: Replace use of printf for error messages with _bfd_error_handler. * coff-ppc.c: Likewise. * coff-sh.c: Likewise. * elf32-bfin.c: Likewise. * elf32-dlx.c: Likewise. * elf32-mep.c: Likewise. * elf32-v850.c: Likewise. * mach-o.c: Likewise. * pef.c: Likewise.
Diffstat (limited to 'bfd/coff-i860.c')
-rw-r--r--bfd/coff-i860.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-i860.c b/bfd/coff-i860.c
index b7ada16474..d50b070eff 100644
--- a/bfd/coff-i860.c
+++ b/bfd/coff-i860.c
@@ -1,6 +1,6 @@
/* BFD back-end for Intel i860 COFF files.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
- 2003, 2004, 2005, 2007, 2008, 2010 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
Created mostly by substituting "860" for "386" in coff-i386.c
Harry Dolan <dolan@ssd.intel.com>, October 1995
@@ -144,7 +144,7 @@ coff_i860_reloc_nyi (bfd *abfd ATTRIBUTE_UNUSED,
char **error_message ATTRIBUTE_UNUSED)
{
reloc_howto_type *howto = reloc_entry->howto;
- fprintf (stderr, _("Relocation `%s' not yet implemented\n"), howto->name);
+ (*_bfd_error_handler) (_("relocation `%s' not yet implemented"), howto->name);
return bfd_reloc_notsupported;
}