aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2001-10-11 17:37:21 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2001-10-11 13:37:21 -0400
commit0faae2f5222db231c1287c1dda3499e88a29946d (patch)
tree3c7d7ef88cbfbb7bfc2d301351e738ab9f54a19b /gcc
parent0b85d8165e0d39b555274fc776589d2abccfcf55 (diff)
downloadgcc-0faae2f5222db231c1287c1dda3499e88a29946d.zip
gcc-0faae2f5222db231c1287c1dda3499e88a29946d.tar.gz
gcc-0faae2f5222db231c1287c1dda3499e88a29946d.tar.bz2
xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only available in 64-bit mode.
* config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only available in 64-bit mode. From-SVN: r46192
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/xcoff.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 607e979..71aa87c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-11 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
+ available in 64-bit mode.
+
2001-10-11 Hans-Peter Nilsson <hp@axis.com>
* config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index fbb7436..7fbc74a 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -464,7 +464,8 @@ toc_section () \
#define UNALIGNED_SHORT_ASM_OP "\t.vbyte\t2,"
#define UNALIGNED_INT_ASM_OP "\t.vbyte\t4,"
-#define UNALIGNED_DOUBLE_INT_ASM_OP "\t.vbyte\t8,"
+/* Only define if alignment greater than 4. */
+#define UNALIGNED_DOUBLE_INT_ASM_OP (TARGET_64BIT ? "\t.vbyte\t8," : NULL)
/* Output before instructions. */
#define TEXT_SECTION_ASM_OP "\t.csect .text[PR]"