diff options
author | Matt Kraai <kraai@alumni.cmu.edu> | 2002-07-10 00:33:52 +0000 |
---|---|---|
committer | Matt Kraai <kraai@gcc.gnu.org> | 2002-07-10 00:33:52 +0000 |
commit | 7990b46f6c184388750f820b8ad2ba7936c899d1 (patch) | |
tree | 6facea888c34905af12eb1791c9d5008e4f91e14 /gcc/config/rs6000/rtems.h | |
parent | 28a34ec177e7e31eea2d7eb2ce7c2a6bc1ffe06a (diff) | |
download | gcc-7990b46f6c184388750f820b8ad2ba7936c899d1.tar.gz |
aix.h: Convert CPP_PREDEFINES to TARGET_OS_CPP_BUILTINS.
* config/rs6000/aix.h: Convert CPP_PREDEFINES to
TARGET_OS_CPP_BUILTINS.
* config/rs6000/aix31.h: Likewise.
* config/rs6000/aix41.h: Likewise.
* config/rs6000/aix43.h: Likewise.
* config/rs6000/aix51.h: Likewise.
* config/rs6000/beos.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/eabi.h: Likewise.
* config/rs6000/eabisim.h: Likewise.
* config/rs6000/linux.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/lynx.h: Likewise.
* config/rs6000/mach.h: Likewise.
* config/rs6000/rtems.h: Likewise.
* config/rs6000/sysv4.h: Likewise.
* config/rs6000/vxppc.h: Likewise.
From-SVN: r55356
Diffstat (limited to 'gcc/config/rs6000/rtems.h')
-rw-r--r-- | gcc/config/rs6000/rtems.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index aa68130ba17..072d86c4ca2 100644 --- a/gcc/config/rs6000/rtems.h +++ b/gcc/config/rs6000/rtems.h @@ -21,6 +21,14 @@ Boston, MA 02111-1307, USA. */ /* Specify predefined symbols in preprocessor. */ -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-DPPC -D__rtems__ \ - -Asystem=rtems -Acpu=powerpc -Amachine=powerpc" +#undef TARGET_OS_CPP_BUILTINS +#define TARGET_OS_CPP_BUILTINS() \ + do \ + { \ + builtin_define_std ("PPC"); \ + builtin_define ("__rtems__"); \ + builtin_assert ("system=rtems"); \ + builtin_assert ("cpu=powerpc"); \ + builtin_assert ("machine=powerpc"); \ + } \ + while (0) |