From fe6724370093f99bd1f9d2887bb93d18fba78c71 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 6 Aug 1987 15:11:09 +0000 Subject: [PATCH] generate commons for bss --- mach/m68020/ncg/mach.h | 2 +- mach/m68k2/ncg/mach.h | 2 +- mach/m68k4/ncg/mach.h | 2 +- mach/moon3/ncg/mach.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mach/m68020/ncg/mach.h b/mach/m68020/ncg/mach.h index 7f80df252..f100a668b 100644 --- a/mach/m68020/ncg/mach.h +++ b/mach/m68020/ncg/mach.h @@ -19,7 +19,7 @@ and then run "make" again #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" diff --git a/mach/m68k2/ncg/mach.h b/mach/m68k2/ncg/mach.h index 7f80df252..f100a668b 100644 --- a/mach/m68k2/ncg/mach.h +++ b/mach/m68k2/ncg/mach.h @@ -19,7 +19,7 @@ and then run "make" again #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" diff --git a/mach/m68k4/ncg/mach.h b/mach/m68k4/ncg/mach.h index 7f80df252..f100a668b 100644 --- a/mach/m68k4/ncg/mach.h +++ b/mach/m68k4/ncg/mach.h @@ -19,7 +19,7 @@ and then run "make" again #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" diff --git a/mach/moon3/ncg/mach.h b/mach/moon3/ncg/mach.h index 7f80df252..f100a668b 100644 --- a/mach/moon3/ncg/mach.h +++ b/mach/moon3/ncg/mach.h @@ -19,7 +19,7 @@ and then run "make" again #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" -- 2.34.1