aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2004-09-16 08:35:01 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-09-16 01:35:01 -0700
commit45f1796923b1b10a3bb13e79f4905cd7763d969a (patch)
treeb4988f39d11e6825a4eeb44d6b61563447eaf1ef
parenta05e4fdbd984eb3e252e180ef2afaf50438bc6c8 (diff)
downloadgcc-45f1796923b1b10a3bb13e79f4905cd7763d969a.zip
gcc-45f1796923b1b10a3bb13e79f4905cd7763d969a.tar.gz
gcc-45f1796923b1b10a3bb13e79f4905cd7763d969a.tar.bz2
encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2004-09-16 Andrew Pinski <apinski@apple.com> * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. From-SVN: r87591
-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 c10832b..232da9c 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 dba2032..7f71276 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