diff options
author | Alan Modra <amodra@bigpond.net.au> | 2011-01-14 12:35:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2011-01-14 12:35:55 +0000 |
commit | 3ac3fa5a79682d8ab527af6f3943fed987e0ebdb (patch) | |
tree | 4f34976a93bebbbd9d36f6d40a127780a1623da1 /bfd/elf32-dlx.c | |
parent | 6ff1db083d3a9acc09c3cbdc23d73399d3c3ad2b (diff) | |
download | binutils-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/elf32-dlx.c')
-rw-r--r-- | bfd/elf32-dlx.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/bfd/elf32-dlx.c b/bfd/elf32-dlx.c index 6b96ac9767..29b89104e9 100644 --- a/bfd/elf32-dlx.c +++ b/bfd/elf32-dlx.c @@ -1,5 +1,5 @@ /* DLX specific support for 32-bit ELF - Copyright 2002, 2003, 2004, 2005, 2006, 2007 + Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2011 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -139,9 +139,8 @@ elf32_dlx_relocate16 (bfd *abfd, /* Can not support a long jump to sections other then .text. */ if (strcmp (input_section->name, symbol->section->output_section->name) != 0) { - fprintf (stderr, - "BFD Link Error: branch (PC rel16) to section (%s) not supported\n", - symbol->section->output_section->name); + (*_bfd_error_handler) (_("BFD Link Error: branch (PC rel16) to section (%s) not supported"), + symbol->section->output_section->name); return bfd_reloc_undefined; } @@ -202,9 +201,8 @@ elf32_dlx_relocate26 (bfd *abfd, /* Can not support a long jump to sections other then .text */ if (strcmp (input_section->name, symbol->section->output_section->name) != 0) { - fprintf (stderr, - "BFD Link Error: jump (PC rel26) to section (%s) not supported\n", - symbol->section->output_section->name); + (*_bfd_error_handler) (_("BFD Link Error: jump (PC rel26) to section (%s) not supported"), + symbol->section->output_section->name); return bfd_reloc_undefined; } |