From ecefdb5878b01870163d09e527602474f2fbc08f Mon Sep 17 00:00:00 2001 From: Clinton Popetz Date: Fri, 28 Apr 2000 13:50:57 +0000 Subject: [PATCH] * coff-mips.c (mips_ecoff_backend_data): Add initialization of _bfd_coff_force_symnames in strings and _bfd_coff_debug_string_prefix_length to their default values. * coff-sh.c: (bfd_coff_small_swap_table): Ditto. --- bfd/ChangeLog | 7 +++++++ bfd/coff-mips.c | 2 +- bfd/coff-sh.c | 12 ++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5f8be10335..18f76072b7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +Fri Apr 28 08:35:21 2000 Clinton Popetz + + * coff-mips.c (mips_ecoff_backend_data): Add initialization of + _bfd_coff_force_symnames in strings and + _bfd_coff_debug_string_prefix_length to their default values. + * coff-sh.c: (bfd_coff_small_swap_table): Ditto. + Fri Apr 28 08:05:12 2000 Clinton Popetz * coff-alpha.c (alpha_ecoff_backend_data): Add initialization of diff --git a/bfd/coff-mips.c b/bfd/coff-mips.c index 7b1512f349..dd7ace5ecd 100644 --- a/bfd/coff-mips.c +++ b/bfd/coff-mips.c @@ -2505,7 +2505,7 @@ static const struct ecoff_backend_data mips_ecoff_backend_data = (unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */ mips_ecoff_swap_filehdr_out, mips_ecoff_swap_aouthdr_out, mips_ecoff_swap_scnhdr_out, - FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, true, false, 4, + FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, true, false, 4, false, 2, mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in, mips_ecoff_swap_scnhdr_in, NULL, mips_ecoff_bad_format_hook, _bfd_ecoff_set_arch_mach_hook, diff --git a/bfd/coff-sh.c b/bfd/coff-sh.c index 821fecd4db..2d1a3c38c2 100644 --- a/bfd/coff-sh.c +++ b/bfd/coff-sh.c @@ -3198,6 +3198,18 @@ static const bfd_coff_backend_data bfd_coff_small_swap_table = false, #endif 2, + false, + 2, +#ifdef COFF_FORCE_SYMBOLS_IN_STRINGS + true, +#else + false, +#endif +#ifdef COFF_DEBUG_STRING_WIDE_PREFIX + 4, +#else + 2, +#endif coff_swap_filehdr_in, coff_swap_aouthdr_in, coff_swap_scnhdr_in, coff_swap_reloc_in, coff_bad_format_hook, coff_set_arch_mach_hook, coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook,