Ensure that procedure labels are word-aligned.
authorDavid Given <dg@cowlark.com>
Fri, 6 Jan 2017 21:29:52 +0000 (22:29 +0100)
committerDavid Given <dg@cowlark.com>
Fri, 6 Jan 2017 21:29:52 +0000 (22:29 +0100)
mach/i386/ncg/mach.h
mach/i86/ncg/mach.h

index e58f4f4..f3075a3 100644 (file)
@@ -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);
 
index 8f9f659..ab5a0d1 100644 (file)
@@ -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);