diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-02-03 17:17:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-02-03 17:17:34 +0000 |
commit | 63fd1097f5b627b8b23173d8c8fa7fe6e9f24e20 (patch) | |
tree | add200c2cbce1833bcc47652bb8847ca85707fd7 /bfd/coff-msym.c | |
parent | 6d18a99d251727f46659a2e85a23544583ab8fd9 (diff) | |
download | gdb-63fd1097f5b627b8b23173d8c8fa7fe6e9f24e20.zip gdb-63fd1097f5b627b8b23173d8c8fa7fe6e9f24e20.tar.gz gdb-63fd1097f5b627b8b23173d8c8fa7fe6e9f24e20.tar.bz2 |
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.
Diffstat (limited to 'bfd/coff-msym.c')
-rw-r--r-- | bfd/coff-msym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-msym.c b/bfd/coff-msym.c index 0a746c1..f6fadf4 100644 --- a/bfd/coff-msym.c +++ b/bfd/coff-msym.c @@ -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); |