diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2005-06-08 09:40:42 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2005-06-08 09:40:42 +0000 |
commit | 21956c07ad851e6fa1b3892cb87b495c11efc2ba (patch) | |
tree | 113083f6bc662b0f68a6d9f87d58a55ee9ced1f2 | |
parent | 5fcead21e3149f03714d2558b96a0a4427d2971c (diff) | |
download | gcc-21956c07ad851e6fa1b3892cb87b495c11efc2ba.zip gcc-21956c07ad851e6fa1b3892cb87b495c11efc2ba.tar.gz gcc-21956c07ad851e6fa1b3892cb87b495c11efc2ba.tar.bz2 |
bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the behavior of the native assembler in VDSP.
* config/bfin/bfin.h (ASM_OUTPUT_ALIGN): Gas now emulates the
behavior of the native assembler in VDSP. So change accordingly.
From-SVN: r100753
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.h | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e069b08..8f54ae3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -12,6 +12,10 @@ (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, diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 82702f9..12e5f2c 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -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) \ |