summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-16 08:35:01 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-16 08:35:01 +0000
commite5333be771b8f89597e2cca8d78cc2c3cf3312a6 (patch)
treeb4988f39d11e6825a4eeb44d6b61563447eaf1ef
parent22ce910eb77d3cf8f8315208cce339bbb63129ef (diff)
downloadgcc-e5333be771b8f89597e2cca8d78cc2c3cf3312a6.tar.gz
2004-09-16 Andrew Pinski <apinski@apple.com>
* encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87591 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libobjc/ChangeLog4
-rw-r--r--libobjc/encoding.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index c10832bccc5..232da9cadb4 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-16 Andrew Pinski <apinski@apple.com>
+
+ * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
+
2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index dba203204b6..7f71276b556 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -92,6 +92,11 @@ Boston, MA 02111-1307, USA. */
#define target_flags not_target_flags
static int __attribute__ ((__unused__)) not_target_flags = 0;
+/* Some ROUND_TYPE_ALIGN use ALTIVEC_VECTOR_MODE (rs6000 darwin).
+ Define a dummy ALTIVEC_VECTOR_MODE so it will not die. */
+#undef ALTIVEC_VECTOR_MODE
+#define ALTIVEC_VECTOR_MODE(MODE) (0)
+
/* FIXME: while this file has no business including tm.h, this
definitely has no business defining this macro but it