aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-03-08 15:32:45 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-03-08 15:32:45 +0000
commit4555be989ffa8bc510f8760f9110e67faf63657e (patch)
treed173899f736362ac240a751eaa8c8f8d96c63562
parent17b7f45edfd818f018183043c5fb3a3ac75c50f5 (diff)
downloadgcc-4555be989ffa8bc510f8760f9110e67faf63657e.zip
gcc-4555be989ffa8bc510f8760f9110e67faf63657e.tar.gz
gcc-4555be989ffa8bc510f8760f9110e67faf63657e.tar.bz2
stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in preference to CPP_PREDEFINES.
* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in preference to CPP_PREDEFINES. From-SVN: r63994
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/stormy16/stormy16.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b78805..6cb8d16 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2003-03-08 Neil Booth <neil@daikokuya.co.uk>
+ * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
+ preference to CPP_PREDEFINES.
+
+2003-03-08 Neil Booth <neil@daikokuya.co.uk>
+
* cppinit.c (cpp_finish_options): Set first_unused_line to -1.
2003-03-08 Kazu Hirata <kazu@cs.umass.edu>
diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h
index e6d6458..be29865 100644
--- a/gcc/config/stormy16/stormy16.h
+++ b/gcc/config/stormy16/stormy16.h
@@ -67,7 +67,10 @@ Boston, MA 02111-1307, USA. */
/* Run-time target specifications */
-#define CPP_PREDEFINES "-Dxstormy16 -Amachine=xstormy16"
+#define TARGET_CPU_CPP_BUILTINS() do { \
+ builtin_define_std ("xstormy16"); \
+ builtin_assert ("machine=xstormy16"); \
+} while (0)
/* This declaration should be present. */
extern int target_flags;