Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)

* coff-msym.c (ecoff_swap_fdr_in, ecoff_swap_ext_in): Set reserved
	bits to 0 to make comparison test useful.

	* config/irix3.mh, config/irix4.mh (HDEFINES): Set to -G 4 to
	avoid overflowing GP accessible sections in binutils/objdump.
This commit is contained in:
Ian Lance Taylor 1993-02-03 17:17:34 +00:00
parent 6d18a99d25
commit 63fd1097f5
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)
* coff-msym.c (ecoff_swap_fdr_in, ecoff_swap_ext_in): Set reserved
bits to 0 to make comparison test useful.
* config/irix3.mh, config/irix4.mh (HDEFINES): Set to -G 4 to
avoid overflowing GP accessible sections in binutils/objdump.
Tue Feb 2 15:36:55 1993 Per Bothner (bothner@cygnus.com)
* aoutx.h (NAME(aout,slurp_symbol_table)): Made symbol

View File

@ -158,7 +158,6 @@ DEFUN (ecoff_swap_fdr_in, (abfd, ext_copy, intern),
intern->fBigendian = 0 != (ext->f_bits1[0] & FDR_BITS1_FBIGENDIAN_BIG);
intern->glevel = (ext->f_bits2[0] & FDR_BITS2_GLEVEL_BIG)
>> FDR_BITS2_GLEVEL_SH_BIG;
/* intern->reserved we ignore. */
} else {
intern->lang = (ext->f_bits1[0] & FDR_BITS1_LANG_LITTLE)
>> FDR_BITS1_LANG_SH_LITTLE;
@ -167,8 +166,8 @@ DEFUN (ecoff_swap_fdr_in, (abfd, ext_copy, intern),
intern->fBigendian = 0 != (ext->f_bits1[0] & FDR_BITS1_FBIGENDIAN_LITTLE);
intern->glevel = (ext->f_bits2[0] & FDR_BITS2_GLEVEL_LITTLE)
>> FDR_BITS2_GLEVEL_SH_LITTLE;
/* intern->reserved we ignore. */
}
intern->reserved = 0;
intern->cbLineOffset = bfd_h_get_32 (abfd, (bfd_byte *)ext->f_cbLineOffset);
intern->cbLine = bfd_h_get_32 (abfd, (bfd_byte *)ext->f_cbLine);
@ -424,6 +423,7 @@ DEFUN (ecoff_swap_ext_in, (abfd, ext_copy, intern),
intern->cobol_main = 0 != (ext->es_bits1[0] & EXT_BITS1_COBOL_MAIN_LITTLE);
intern->weakext = 0 != (ext->es_bits1[0] & EXT_BITS1_WEAKEXT_LITTLE);
}
intern->reserved = 0;
intern->ifd = bfd_h_get_16 (abfd, (bfd_byte *)ext->es_ifd);
ecoff_swap_sym_in (abfd, &ext->es_asym, &intern->asym);