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/elflink.h | |
parent | 1c4dcb577190b1b205381f74ac29eb0102811af6 (diff) | |
download | gdb-8f615d07046056cd62e6916b1af80223df8641e8.zip gdb-8f615d07046056cd62e6916b1af80223df8641e8.tar.gz gdb-8f615d07046056cd62e6916b1af80223df8641e8.tar.bz2 |
* 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/elflink.h')
-rw-r--r-- | bfd/elflink.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 123bc8d..393f932 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -1485,7 +1485,7 @@ elf_link_add_object_symbols (abfd, info) { (*_bfd_error_handler) (_("%s: %s: invalid version %u (max %d)"), - bfd_get_filename (abfd), name, vernum, + bfd_archive_filename (abfd), name, vernum, elf_tdata (abfd)->dynverdef_hdr.sh_info); bfd_set_error (bfd_error_bad_value); goto error_return; @@ -1526,7 +1526,7 @@ elf_link_add_object_symbols (abfd, info) { (*_bfd_error_handler) (_("%s: %s: invalid needed version %d"), - bfd_get_filename (abfd), name, vernum); + bfd_archive_filename (abfd), name, vernum); bfd_set_error (bfd_error_bad_value); goto error_return; } @@ -1647,7 +1647,7 @@ elf_link_add_object_symbols (abfd, info) (*_bfd_error_handler) (_("Warning: size of symbol `%s' changed from %lu to %lu in %s"), name, (unsigned long) h->size, (unsigned long) sym.st_size, - bfd_get_filename (abfd)); + bfd_archive_filename (abfd)); h->size = sym.st_size; } @@ -1669,7 +1669,7 @@ elf_link_add_object_symbols (abfd, info) (*_bfd_error_handler) (_("Warning: type of symbol `%s' changed from %d to %d in %s"), name, h->type, ELF_ST_TYPE (sym.st_info), - bfd_get_filename (abfd)); + bfd_archive_filename (abfd)); h->type = ELF_ST_TYPE (sym.st_info); } @@ -1892,7 +1892,7 @@ elf_link_add_object_symbols (abfd, info) do in the case above. */ (*_bfd_error_handler) (_("%s: warning: unexpected redefinition of `%s'"), - bfd_get_filename (abfd), shortname); + bfd_archive_filename (abfd), shortname); } else { @@ -6009,7 +6009,7 @@ elf_link_input_bfd (finfo, input_bfd) if (isec->symbol->value != isym->st_value) (*_bfd_error_handler) (_("%s: invalid section symbol index 0x%x (%s) ignored"), - bfd_get_filename (input_bfd), isym->st_shndx, + bfd_archive_filename (input_bfd), isym->st_shndx, name); continue; } @@ -7288,7 +7288,7 @@ elf_gc_record_vtinherit (abfd, sec, h, offset) } (*_bfd_error_handler) ("%s: %s+%lu: No symbol found for INHERIT", - bfd_get_filename (abfd), sec->name, + bfd_archive_filename (abfd), sec->name, (unsigned long) offset); bfd_set_error (bfd_error_invalid_operation); return false; |