PR target/15790
* config/i386/i386-coff.h (ASM_OUTPUT_ALIGN): Define.
From-SVN: r82796
+2004-06-08 James E Wilson <wilson@specifixinc.com>
+
+ PR target/15790
+ * config/i386/i386-coff.h (ASM_OUTPUT_ALIGN): Define.
+
2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
* fold-const.c (fold_convert): Treat OFFSET_TYPE like
#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
+/* GNU as expects alignment to be the number of bytes instead of the log for
+ COFF targets. */
+
+#undef ASM_OUTPUT_ALIGN
+#define ASM_OUTPUT_ALIGN(FILE,LOG) \
+ if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
+
/* end of i386-coff.h */