Add missing ifdef to make m68k-aout targets happy.
authorStan Shebs <shebs@codesourcery.com>
Wed, 8 Sep 1993 00:20:59 +0000 (00:20 +0000)
committerStan Shebs <shebs@codesourcery.com>
Wed, 8 Sep 1993 00:20:59 +0000 (00:20 +0000)
gas/ChangeLog
gas/read.c

index cc52c0c7bd72758a52674c190a1f6e7664f095a3..adf62f808ad8dc6ac4377568a049871bd519d310 100644 (file)
@@ -1,5 +1,7 @@
 Tue Sep  7 10:22:52 1993  Stan Shebs  (shebs@rtl.cygnus.com)
 
+       * read.c: (change_to_section): Don't include body if not MANY_SECTIONS.
+
        * read.c: (s_stab, s_xstab, s_desc): New functions to parse
        various stab-related directives.
        * read.h: (s_stab, s_xstab, s_desc): New function prototypes.
index d8e1206643f84007d693c93dcc12ededbb2b9ba4..c4aa0f06c0a0918f073f309df1e1ca4005046a75 100644 (file)
@@ -2674,6 +2674,7 @@ change_to_section (name, len, exp)
        unsigned int exp;
 {
 #ifndef BFD_ASSEMBLER
+#ifdef MANY_SEGMENTS
   unsigned int i;
   extern segment_info_type segment_info[];
 
@@ -2691,6 +2692,7 @@ change_to_section (name, len, exp)
   segment_info[i].scnhdr.s_flags = 0 /* STYP_NOLOAD */;
   subseg_new (i, exp);
 #endif
+#endif
 }
 
 /*