This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils doesn't build after changed libcoff.h


Here are two more fixes for backends broken by my coff changes.  

			-Clint	

Fri Apr 28 08:35:21 2000  Clinton Popetz  <cpopetz@cygnus.com>

	* 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.


Index: coff-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/coff-mips.c,v
retrieving revision 1.6
diff -c -2 -p -r1.6 coff-mips.c
*** coff-mips.c	2000/04/11 13:07:56	1.6
--- coff-mips.c	2000/04/28 13:35:43
*************** static const struct ecoff_backend_data m
*** 2506,2510 ****
      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,
      mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in,
      mips_ecoff_swap_scnhdr_in, NULL,
--- 2506,2510 ----
      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, false, 2,
      mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in,
      mips_ecoff_swap_scnhdr_in, NULL,
Index: coff-sh.c
===================================================================
RCS file: /cvs/src/src/bfd/coff-sh.c,v
retrieving revision 1.11
diff -c -2 -p -r1.11 coff-sh.c
*** coff-sh.c	2000/03/01 20:39:07	1.11
--- coff-sh.c	2000/04/28 13:35:46
*************** static const bfd_coff_backend_data bfd_c
*** 3199,3202 ****
--- 3199,3214 ----
  #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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]