From: ceriel Date: Thu, 6 Aug 1987 15:11:09 +0000 (+0000) Subject: generate commons for bss X-Git-Tag: release-5-5~3930 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=fe6724370093f99bd1f9d2887bb93d18fba78c71;p=ack.git generate commons for bss --- 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"