aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1993-09-08 00:20:59 +0000
committerStan Shebs <shebs@codesourcery.com>1993-09-08 00:20:59 +0000
commit1531386bca715e97b852bad3733b5032dfe91489 (patch)
tree2e9272762f45beeb3374e1f42546ffb7a8aa731f
parent511fb5d673dd4ed1eff8f144f53b0a590b5cb549 (diff)
downloadgdb-1531386bca715e97b852bad3733b5032dfe91489.zip
gdb-1531386bca715e97b852bad3733b5032dfe91489.tar.gz
gdb-1531386bca715e97b852bad3733b5032dfe91489.tar.bz2
Add missing ifdef to make m68k-aout targets happy.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/read.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cc52c0c..adf62f8 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 d8e1206..c4aa0f0 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
}
/*