]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the behavior of the native assembler...
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 8 Jun 2005 09:40:42 +0000 (09:40 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 8 Jun 2005 09:40:42 +0000 (09:40 +0000)
* config/bfin/bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the
behavior of the native assembler in VDSP. So change accordingly.

From-SVN: r100753

gcc/ChangeLog
gcc/config/bfin/bfin.h

index e069b0823c04c9a6f89c8ff4870fecb7bad5d659..8f54ae374009c6c090acf36d8aa87f0be4cbd62a 100644 (file)
        (def_builtin): New macro.
        (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
 
+       From Jie Zhang  <jie.zhang@analog.com>
+       * config/bfin/bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the
+       behavior of the native assembler in VDSP. So change accordingly.
+       
 2005-06-08  Sebastian Pop  <pop@cri.ensmp.fr>
 
        * tree-data-ref.c (compute_estimated_nb_iterations,
index 82702f9be2d228bf5ad766a2e9b7476b31066d46..12e5f2cc09157ae4a8e56a6a6b71c2a88fb4e8b9 100644 (file)
@@ -1106,8 +1106,9 @@ do { char __buf[256];                                     \
     } while (0)
 
 #define ASM_OUTPUT_ALIGN(FILE,LOG)                             \
-    do {                                                       \
-       fprintf (FILE, ".align %d\n", LOG);                     \
+    do {                                                       \
+      if ((LOG) != 0)                                          \
+       fprintf (FILE, "\t.align %d\n", 1 << (LOG));            \
     } while (0)
 
 #define ASM_OUTPUT_SKIP(FILE,SIZE)             \