Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Wed, 3 Feb 1993 17:17:34 +0000 (17:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 3 Feb 1993 17:17:34 +0000 (17:17 +0000)
* 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.

bfd/ChangeLog
bfd/coff-msym.c

index e8f422f..1551b07 100644 (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
index 0a746c1..f6fadf4 100644 (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);