1988-10-20 13:06:10 +00:00
|
|
|
#include <out.h>
|
|
|
|
#include <em.h>
|
|
|
|
#include "back.h"
|
|
|
|
|
|
|
|
common(n)
|
|
|
|
arith n;
|
|
|
|
{
|
|
|
|
extern int Label, label_waiting;
|
|
|
|
register struct outname *nm = &symbol_table[Label];
|
|
|
|
|
|
|
|
if (label_waiting && (nm->on_type & S_EXT)) {
|
1988-10-31 15:42:15 +00:00
|
|
|
nm->on_type |= S_COM | (S_MIN+SEGBSS);
|
|
|
|
if (n > nm->on_valu) {
|
|
|
|
nm->on_valu = n;
|
1988-10-20 13:06:10 +00:00
|
|
|
}
|
|
|
|
label_waiting = 0;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
switchseg(SEGBSS);
|
|
|
|
dump_label();
|
|
|
|
bss(n);
|
|
|
|
}
|