summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/rs6000/darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/rs6000/darwin.h')
-rw-r--r--contrib/gcc/config/rs6000/darwin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/gcc/config/rs6000/darwin.h b/contrib/gcc/config/rs6000/darwin.h
index 62ed74c..cae8bac 100644
--- a/contrib/gcc/config/rs6000/darwin.h
+++ b/contrib/gcc/config/rs6000/darwin.h
@@ -111,6 +111,13 @@ do { \
#define SUBTARGET_EXTRA_SPECS \
{ "darwin_arch", "ppc" },
+/* The "-faltivec" option should have been called "-maltivec" all along. */
+#define SUBTARGET_OPTION_TRANSLATE_TABLE \
+ { "-faltivec", "-maltivec -include altivec.h" }, \
+ { "-fno-altivec", "-mno-altivec" }, \
+ { "-Waltivec-long-deprecated", "-mwarn-altivec-long" }, \
+ { "-Wno-altivec-long-deprecated", "-mno-warn-altivec-long" }
+
/* Make both r2 and r3 available for allocation. */
#define FIXED_R2 0
#define FIXED_R13 0
OpenPOWER on IntegriCloud