put saved label in correct segment

This commit is contained in:
ceriel 1989-03-10 10:08:22 +00:00
parent 33992b426d
commit 18d134bda7

View file

@ -6,11 +6,11 @@ arith n;
extern int saved; extern int saved;
extern char labeltje[]; extern char labeltje[];
switchseg(SEGBSS);
if (saved) { if (saved) {
fprint( codefile, COMM_FMT, labeltje, (long) n); fprint( codefile, COMM_FMT, labeltje, (long) n);
saved = 0; saved = 0;
return; return;
} }
switchseg(SEGBSS);
bss(n); bss(n);
} }