d30v.h (CPP_PREDEFINES): Replace with
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sun, 2 Jun 2002 14:11:33 +0000 (14:11 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 2 Jun 2002 14:11:33 +0000 (14:11 +0000)
* d30v.h (CPP_PREDEFINES): Replace with
(TARGET_CPU_CPP_BUILTINS): New.

From-SVN: r54171

gcc/ChangeLog
gcc/config/d30v/d30v.h

index 3f56b725f5ec3f83f729909a4fb6615852dbfd78..911337b3da974425c51e93b2b7e9c7fc49e57a65 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * d30v.h (CPP_PREDEFINES): Replace with
+       (TARGET_CPU_CPP_BUILTINS): New.
+
 2002-06-02  Roger Sayle  <roger@eyesopen.com>
 
        * config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
index c0a949fc608a35f5f21c27962b1dbbfa38dafb74..122f535abcdf56b67596c7517f222021c28cce4c 100644 (file)
 \f
 /* Run-time target specifications */
 
-#define CPP_PREDEFINES "-D__D30V__ -Amachine=d30v"
+#define TARGET_CPU_CPP_BUILTINS()              \
+  do                                           \
+    {                                          \
+      builtin_define ("__D30V__");             \
+      builtin_assert ("machine=d30v");         \
+    }                                          \
+  while (0)
 
 /* This declaration should be present.  */
 extern int target_flags;