From 1531386bca715e97b852bad3733b5032dfe91489 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 8 Sep 1993 00:20:59 +0000 Subject: [PATCH] Add missing ifdef to make m68k-aout targets happy. --- gas/ChangeLog | 2 ++ gas/read.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index cc52c0c7bd7..adf62f808ad 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/read.c b/gas/read.c index d8e1206643f..c4aa0f06c0a 100644 --- a/gas/read.c +++ b/gas/read.c @@ -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 } /* -- 2.30.2