vxworksae.h: Add missing VXWORKS_OS_CPP_BUILTINS.

* 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
This commit is contained in:
Olivier Hainque 2010-10-05 12:18:10 +00:00 committed by Olivier Hainque
parent 694a4f61a7
commit bcee41ff81
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -37,8 +37,6 @@ along with GCC; see the file COPYING3. If not see
builtin_define ("__PPC__"); \
builtin_define ("__EABI__"); \
builtin_define ("__ELF__"); \
builtin_define ("__vxworks"); \
builtin_define ("__VXWORKS__"); \
if (!TARGET_SOFT_FLOAT) \
builtin_define ("__hardfp"); \
\

View File

@ -55,3 +55,13 @@ along with GCC; see the file COPYING3. If not see
#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)