Commit 02760d2f by James E Wilson Committed by Jim Wilson

re PR target/15790 ([3.4 only] Alignment error building gcc with i686-coff target)

PR target/15790
* config/i386/i386-coff.h (ASM_OUTPUT_ALIGN): Define.

From-SVN: r82796
parent 5f1a5ede
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> 2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
* fold-const.c (fold_convert): Treat OFFSET_TYPE like * fold-const.c (fold_convert): Treat OFFSET_TYPE like
......
...@@ -60,4 +60,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -60,4 +60,11 @@ Boston, MA 02111-1307, USA. */
#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \ #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
sprintf ((BUF), ".%s%ld", (PREFIX), (long)(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 */ /* end of i386-coff.h */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment