diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-25 21:31:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-25 21:31:29 +0000 |
commit | 7a7fbffb25e87d2399478a82f6f41343ea78450a (patch) | |
tree | fc97510f1508a0adbbfd7e1937733b31045bbbe8 /bfd/coffcode.h | |
parent | f1c6dd5d163360c9dadd850ebe0069e1774cb8c9 (diff) | |
download | gdb-7a7fbffb25e87d2399478a82f6f41343ea78450a.zip gdb-7a7fbffb25e87d2399478a82f6f41343ea78450a.tar.gz gdb-7a7fbffb25e87d2399478a82f6f41343ea78450a.tar.bz2 |
* aout-adobe.c (aout_adobe_callback): Use _bfd_error_handler
rather than a direct fprintf.
* archive.c (_bfd_write_archive_contents): Likewise.
* coffcode.h (coff_slurp_symbol_table): Likewise.
* elf32-ppc.c (ppc_elf_merge_private_bfd_data): Likewise.
(ppc_elf_unsupported_reloc): Likewise.
(ppc_elf_relocate_section): Likewise.
* i386linux.c (linux_tally_symbols): Likewise.
(linux_finish_dynamic_link): Likewise.
* osf-core.c (osf_core_core_file_p): Likewise.
* rs6000-core.c (rs6000coff_get_section_contents): Likewise.
* som.c (som_sizeof_headers): Likewise.
* srec.c (srec_bad_byte): Likewise.
* bfd.c (bfd_assert): Likewise. Also change file to be const.
* libbfd-in.h (bfd_assert): Declare first parameter const.
* libbfd.h: Rebuild.
* coff-a29k.c (a29k_reloc): Don't bother to fprintf; returning
bfd_reloc_overflow is enough.
* coff-h8300.c (rtype2howto): Don't bother to fprintf; just abort.
* coff-h8500.c (rtype2howto): Likewise.
* coff-z8k.c (rtype2howto): Likewise.
* coffcode.h (dummy_reloc16_extra_cases): Likewise.
* elf.c (_bfd_elf_get_lineno): Likewise.
(_bfd_elf_no_info_to_howto): Likewise.
(_bfd_elf_no_info_to_howto_rel): Likewise.
* hp300hpux.c (convert_sym_type): Likewise.
(MY(swap_std_reloc_in)): Likewise.
* elf.c (bfd_section_from_shdr): Remove #if 0 sections.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index f9c7958..b1814ab 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -2455,11 +2455,10 @@ coff_slurp_symbol_table (abfd) case C_ALIAS: /* duplicate tag */ case C_HIDDEN: /* ext symbol in dmert public lib */ default: - - fprintf (stderr, "Unrecognized storage class %d (assuming debugging)\n for %s symbol `%s'\n", - src->u.syment.n_sclass, dst->symbol.section->name, - dst->symbol.name); -/* abort();*/ + (*_bfd_error_handler) + ("%s: Unrecognized storage class %d for %s symbol `%s'", + bfd_get_filename (abfd), src->u.syment.n_sclass, + dst->symbol.section->name, dst->symbol.name); dst->symbol.flags = BSF_DEBUGGING; dst->symbol.value = (src->u.syment.n_value); break; @@ -2799,7 +2798,6 @@ dummy_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr, unsigned int *src_ptr; unsigned int *dst_ptr; { - fprintf (stderr, "%s\n", reloc->howto->name); abort (); } #endif |