summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-08 15:32:45 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-08 15:32:45 +0000
commit547defaab7b264efbb91ce4d60ecb0f4bf02af89 (patch)
treed173899f736362ac240a751eaa8c8f8d96c63562
parentd2e62ab48f7cfd58747cda1b41223280abbfbfb1 (diff)
downloadppe42-gcc-547defaab7b264efbb91ce4d60ecb0f4bf02af89.tar.gz
ppe42-gcc-547defaab7b264efbb91ce4d60ecb0f4bf02af89.zip
* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
preference to CPP_PREDEFINES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63994 138bc75d-0d04-0410-961f-82ee72b054a4
-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 0b788053bd4..6cb8d160e38 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 e6d645892c2..be29865410b 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;
OpenPOWER on IntegriCloud