* config/vxworksae.h: Add missing VXWORKS_OS_CPP_BUILTINS.
* config/rs6000/vxworks.h: Remove redundant CPP builtin definitions.
Co-Authored-By: Nicolas Roche <roche@adacore.com>
From-SVN: r164988
+2010-10-05 Olivier Hainque <hainque@adacore.com>
+ Nicolas Roche <roche@adacore.com>
+
+ * config/vxworksae.h: Add missing VXWORKS_OS_CPP_BUILTINS.
+ * config/rs6000/vxworks.h: Remove redundant CPP builtin definitions.
+
2010-10-05 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/45752
builtin_define ("__PPC__"); \
builtin_define ("__EABI__"); \
builtin_define ("__ELF__"); \
- builtin_define ("__vxworks"); \
- builtin_define ("__VXWORKS__"); \
if (!TARGET_SOFT_FLOAT) \
builtin_define ("__hardfp"); \
\
#define VXWORKS_STARTFILE_SPEC ""
#define VXWORKS_KIND VXWORKS_KIND_AE
+
+/* A VxWorks 653 implementation of TARGET_OS_CPP_BUILTINS. */
+#define VXWORKS_OS_CPP_BUILTINS() \
+ do \
+ { \
+ builtin_define ("__vxworks"); \
+ builtin_define ("__VXWORKS__"); \
+ } \
+ while (0)
+