produce commons for newlbss
authorceriel <none@none>
Mon, 18 Mar 1991 15:06:01 +0000 (15:06 +0000)
committerceriel <none@none>
Mon, 18 Mar 1991 15:06:01 +0000 (15:06 +0000)
mach/6500/cg/mach.h
mach/i80/ncg/mach.h
mach/m68k2/cg/mach.h
mach/pdp/cg/mach.h
mach/pdp/ncg/mach.h
mach/z80/cg/mach.h
mach/z8000/cg/mach.h

index 3bb921b..792996a 100644 (file)
@@ -10,7 +10,7 @@
 #define newilb(x)       fprintf(codefile,"%s:\n",x)
 #define newdlb(x)       fprintf(codefile,"%s:\n",x)
 #define dlbdlb(x,y)     fprintf(codefile,"%s = %s\n",x,y)
-#define newlbss(l,x)    fprintf(codefile,"%s: .space\t%d\n",l,x);
+#define newlbss(l,x)    fprintf(codefile,".comm %s,%u\n",l,x);
 
 #define cst_fmt         "%d"
 #define off_fmt         "%d"
index 82927cf..9c24fc7 100644 (file)
@@ -9,7 +9,7 @@
 #define newilb(x)       fprintf(codefile,"%s:\n",x)
 #define newdlb(x)       fprintf(codefile,"%s:\n",x)
 #define dlbdlb(x,y)     fprintf(codefile,"%s = %s\n",x,y)
-#define newlbss(l,x)       fprintf(codefile,"%s:.space\t%d\n",l,x);
+#define newlbss(l,x)       fprintf(codefile,".comm %s,%u\n",l,x);
 
 #define cst_fmt         "%d"
 #define off_fmt         "%d"
index a16e5ec..61f4a65 100644 (file)
@@ -9,7 +9,7 @@
 #define newilb(x)      fprintf(codefile,"%s:\n",x)
 #define newdlb(x)      fprintf(codefile,"%s:\n",x)
 #define        dlbdlb(x,y)     fprintf(codefile,"%s = %s\n",x,y)
-#define newlbss(l,x)   fprintf(codefile,"%s:.space\t%ld\n",l,x);
+#define newlbss(l,x)   fprintf(codefile,".comm %s,%ld\n",l,x);
 
 #define        pop_fmt         "(sp)+"
 #define cst_fmt                "%ld"
index 4c2395f..dbbdf8f 100644 (file)
@@ -23,7 +23,7 @@
 #define newilb(x)      fprintf(codefile,"%s:\n",x)
 #define newdlb(x)      fprintf(codefile,"%s:\n",x)
 #ifdef ACK_ASS
-#define newlbss(l,x)   fprintf(codefile,"%s:.space 0%o\n",l,x);
+#define newlbss(l,x)   fprintf(codefile,".comm %s,%u\n",l,x);
 #else
 #define newlbss(l,x)   fprintf(codefile,"%s:.=.+0%o\n",l,x);
 #endif
index 4c2395f..dbbdf8f 100644 (file)
@@ -23,7 +23,7 @@
 #define newilb(x)      fprintf(codefile,"%s:\n",x)
 #define newdlb(x)      fprintf(codefile,"%s:\n",x)
 #ifdef ACK_ASS
-#define newlbss(l,x)   fprintf(codefile,"%s:.space 0%o\n",l,x);
+#define newlbss(l,x)   fprintf(codefile,".comm %s,%u\n",l,x);
 #else
 #define newlbss(l,x)   fprintf(codefile,"%s:.=.+0%o\n",l,x);
 #endif
index 779de85..8adfc55 100644 (file)
@@ -12,7 +12,7 @@
 #define newilb(x)       fprintf(codefile,"%s:\n",x)
 #define newdlb(x)       fprintf(codefile,"%s:\n",x)
 #define dlbdlb(x,y)     fprintf(codefile,"%s = %s\n",x,y)
-#define newlbss(l,x)       fprintf(codefile,"%s:.space\t%d\n",l,x);
+#define newlbss(l,x)    fprintf(codefile,".comm %s,%u\n",l,x);
 
 #define cst_fmt         "%d"
 #define off_fmt         "%d"
index bff94ee..23cbb84 100644 (file)
@@ -9,7 +9,7 @@
 #define newilb(x)       fprintf(codefile,"%s:\n",x)
 #define newdlb(x)       fprintf(codefile,"%s:\n",x)
 #define dlbdlb(x,y)     fprintf(codefile,"%s = %s\n",x,y)
-#define newlbss(l,x)    fprintf(codefile,"%s:\t.space %d\n",l,x);
+#define newlbss(l,x)    fprintf(codefile,".comm %s,%u\n",l,x);
 
 #define cst_fmt         "%d"
 #define off_fmt         "%d"