From: David Given Date: Fri, 6 Jan 2017 21:29:52 +0000 (+0100) Subject: Ensure that procedure labels are word-aligned. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=73922f1d165abbebbb5c6151c1c249b13da1a655;p=ack.git Ensure that procedure labels are word-aligned. --- diff --git a/mach/i386/ncg/mach.h b/mach/i386/ncg/mach.h index e58f4f423..f3075a37f 100644 --- a/mach/i386/ncg/mach.h +++ b/mach/i386/ncg/mach.h @@ -11,6 +11,7 @@ #define newilb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x) +#define newplb(x) fprintf(codefile,".align 4\n%s:\n", x) #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y) #define newlbss(l,x) fprintf(codefile,".comm %s,%ld\n",l,x); diff --git a/mach/i86/ncg/mach.h b/mach/i86/ncg/mach.h index 8f9f65938..ab5a0d156 100644 --- a/mach/i86/ncg/mach.h +++ b/mach/i86/ncg/mach.h @@ -11,6 +11,7 @@ #define newilb(x) fprintf(codefile,"%s:\n",x) #define newdlb(x) fprintf(codefile,"%s:\n",x) +#define newplb(x) fprintf(codefile,".align 2\n%s:\n", x) #define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y) #define newlbss(l,x) fprintf(codefile,".comm %s,%u\n",l,x);