Selaa lähdekoodia

produce commons for newlbss

ceriel 33 vuotta sitten
vanhempi
commit
5792ba43da
7 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 1 1
      mach/6500/cg/mach.h
  2. 1 1
      mach/i80/ncg/mach.h
  3. 1 1
      mach/m68k2/cg/mach.h
  4. 1 1
      mach/pdp/cg/mach.h
  5. 1 1
      mach/pdp/ncg/mach.h
  6. 1 1
      mach/z80/cg/mach.h
  7. 1 1
      mach/z8000/cg/mach.h

+ 1 - 1
mach/6500/cg/mach.h

@@ -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"

+ 1 - 1
mach/i80/ncg/mach.h

@@ -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"

+ 1 - 1
mach/m68k2/cg/mach.h

@@ -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"

+ 1 - 1
mach/pdp/cg/mach.h

@@ -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

+ 1 - 1
mach/pdp/ncg/mach.h

@@ -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

+ 1 - 1
mach/z80/cg/mach.h

@@ -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"

+ 1 - 1
mach/z8000/cg/mach.h

@@ -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"