aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2005-06-08 09:40:42 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2005-06-08 09:40:42 +0000
commit21956c07ad851e6fa1b3892cb87b495c11efc2ba (patch)
tree113083f6bc662b0f68a6d9f87d58a55ee9ced1f2 /gcc/config
parent5fcead21e3149f03714d2558b96a0a4427d2971c (diff)
downloadgcc-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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/bfin/bfin.h5
1 files changed, 3 insertions, 2 deletions
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) \