aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/as
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1995-03-02 20:29:18 +0000
committerNate Williams <nate@FreeBSD.org>1995-03-02 20:29:18 +0000
commitd6212a19ca224cd970fbddc9419a81319422dae2 (patch)
tree06eb0fef43a737e2629f8188515fa539272b80e9 /gnu/usr.bin/as
parent833eac3148aa6be836af4d16119f47b9cc4cc570 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/as')
-rw-r--r--gnu/usr.bin/as/subsegs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/usr.bin/as/subsegs.c b/gnu/usr.bin/as/subsegs.c
index af2d4e7db12f6..6e9481f4c7b98 100644
--- a/gnu/usr.bin/as/subsegs.c
+++ b/gnu/usr.bin/as/subsegs.c
@@ -22,7 +22,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: subsegs.c,v 1.3 1993/10/02 20:57:54 pk Exp $";
+static char rcsid[] = "$Id: subsegs.c,v 1.2 1993/11/03 00:52:19 paul Exp $";
#endif
#include "as.h"
@@ -140,6 +140,9 @@ register int subseg;
if (seg == SEG_DATA) {
seg_fix_rootP = &data_fix_root;
seg_fix_tailP = &data_fix_tail;
+ } else if (seg == SEG_BSS) {
+ seg_fix_rootP = &bss_fix_root;
+ seg_fix_tailP = &bss_fix_tail;
} else {
know (seg == SEG_TEXT);
seg_fix_rootP = &text_fix_root;
@@ -171,7 +174,7 @@ register subsegT subseg;
{
long tmp; /* JF for obstack alignment hacking */
#ifndef MANY_SEGMENTS
- know(seg == SEG_DATA || seg == SEG_TEXT);
+ know(seg == SEG_DATA || seg == SEG_TEXT || seg == SEG_BSS);
#endif
if (seg != now_seg || subseg != now_subseg)
{ /* we just changed sub-segments */