diff options
author | Alan Modra <amodra@gmail.com> | 2001-09-20 23:30:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-09-20 23:30:37 +0000 |
commit | 8f615d07046056cd62e6916b1af80223df8641e8 (patch) | |
tree | b70137733b0ade8677ac13ec8b19b39d28babf23 /bfd/ihex.c | |
parent | Make set_solib_svr4_fetch_link_map_offsets() work as intended. (diff) | |
download | binutils-gdb-8f615d07046056cd62e6916b1af80223df8641e8.tar.gz binutils-gdb-8f615d07046056cd62e6916b1af80223df8641e8.tar.bz2 binutils-gdb-8f615d07046056cd62e6916b1af80223df8641e8.zip |
* bfd.c (bfd_archive_filename): New function.
* bfd-in2.h: Regenerate.
* aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename
in error messages where the bfd is an input bfd.
* aout-cris.c: Likewise.
* coff-arm.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-sh.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* ecofflink.c: Likewise.
* elf-hppa.h: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-gen.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-gen.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* libbfd.c: Likewise.
* pdp11.c: Likewise.
* pe-mips.c: Likewise.
* peicode.h: Likewise.
* srec.c: Likewise.
* xcofflink.c: Likewise.
* elf32-arm.h: Make _bfd_error_handler calls K&R compatible.
* elflink.c (_bfd_elf_create_linker_section): Better grammar for
error message.
* coff-mcore.c (coff_mcore_relocate_section): Internalionalise
error message.
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types.
Consolidate error messages, and split long messages to two lines.
Diffstat (limited to 'bfd/ihex.c')
-rw-r--r-- | bfd/ihex.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bfd/ihex.c b/bfd/ihex.c index fbfe63c9209..9aacdfce4d5 100644 --- a/bfd/ihex.c +++ b/bfd/ihex.c @@ -257,7 +257,7 @@ ihex_bad_byte (abfd, lineno, c, error) } (*_bfd_error_handler) (_("%s:%d: unexpected character `%s' in Intel Hex file\n"), - bfd_get_filename (abfd), lineno, buf); + bfd_archive_filename (abfd), lineno, buf); bfd_set_error (bfd_error_bad_value); } } @@ -367,7 +367,7 @@ ihex_scan (abfd) { (*_bfd_error_handler) (_("%s:%u: bad checksum in Intel Hex file (expected %u, found %u)"), - bfd_get_filename (abfd), lineno, + bfd_archive_filename (abfd), lineno, (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i)); bfd_set_error (bfd_error_bad_value); goto error_return; @@ -421,7 +421,7 @@ ihex_scan (abfd) { (*_bfd_error_handler) (_("%s:%u: bad extended address record length in Intel Hex file"), - bfd_get_filename (abfd), lineno); + bfd_archive_filename (abfd), lineno); bfd_set_error (bfd_error_bad_value); goto error_return; } @@ -438,7 +438,7 @@ ihex_scan (abfd) { (*_bfd_error_handler) (_("%s:%u: bad extended start address length in Intel Hex file"), - bfd_get_filename (abfd), lineno); + bfd_archive_filename (abfd), lineno); bfd_set_error (bfd_error_bad_value); goto error_return; } @@ -455,7 +455,7 @@ ihex_scan (abfd) { (*_bfd_error_handler) (_("%s:%u: bad extended linear address record length in Intel Hex file"), - bfd_get_filename (abfd), lineno); + bfd_archive_filename (abfd), lineno); bfd_set_error (bfd_error_bad_value); goto error_return; } @@ -472,7 +472,7 @@ ihex_scan (abfd) { (*_bfd_error_handler) (_("%s:%u: bad extended linear start address length in Intel Hex file"), - bfd_get_filename (abfd), lineno); + bfd_archive_filename (abfd), lineno); bfd_set_error (bfd_error_bad_value); goto error_return; } @@ -489,7 +489,7 @@ ihex_scan (abfd) default: (*_bfd_error_handler) (_("%s:%u: unrecognized ihex type %u in Intel Hex file\n"), - bfd_get_filename (abfd), lineno, type); + bfd_archive_filename (abfd), lineno, type); bfd_set_error (bfd_error_bad_value); goto error_return; } @@ -609,7 +609,7 @@ ihex_read_section (abfd, section, contents) { (*_bfd_error_handler) (_("%s: internal error in ihex_read_section"), - bfd_get_filename (abfd)); + bfd_archive_filename (abfd)); bfd_set_error (bfd_error_bad_value); goto error_return; } @@ -644,7 +644,7 @@ ihex_read_section (abfd, section, contents) { (*_bfd_error_handler) (_("%s: bad section length in ihex_read_section"), - bfd_get_filename (abfd)); + bfd_archive_filename (abfd)); bfd_set_error (bfd_error_bad_value); goto error_return; } |