PR target/18989
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Apr 2007 06:18:33 +0000 (06:18 +0000)
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Apr 2007 06:18:33 +0000 (06:18 +0000)
  * config/avr/avr.h (ASM_OUTPUT_ALIGN): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124141 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/avr/avr.h

index cf05f74..8da90b3 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-25  Anatoly Sokolov <aesok@post.ru>
+
+       PR target/18989
+       * config/avr/avr.h (ASM_OUTPUT_ALIGN): Redefine.
+
 2007-04-24  Brooks Moses  <brooks.moses@codesourcery.com>
 
        * real.c (mpfr_from_real): Handle Inf and NaN, and allow the
index 640adad..669e261 100644 (file)
@@ -660,7 +660,11 @@ sprintf (STRING, "*.%s%lu", PREFIX, (unsigned long)(NUM))
 #define ASM_OUTPUT_SKIP(STREAM, N)             \
 fprintf (STREAM, "\t.skip %lu,0\n", (unsigned long)(N))
 
-#define ASM_OUTPUT_ALIGN(STREAM, POWER)
+#define ASM_OUTPUT_ALIGN(STREAM, POWER)                        \
+  do {                                                 \
+      if ((POWER) > 1)                                 \
+          fprintf (STREAM, "\t.p2align\t%d\n", POWER); \
+  } while (0)
 
 #define CASE_VECTOR_MODE HImode