public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Convert stormy16 to not use CPP_PREDEFINES
@ 2003-03-08 15:35 Neil Booth
  0 siblings, 0 replies; only message in thread
From: Neil Booth @ 2003-03-08 15:35 UTC (permalink / raw)
  To: gcc-patches

I've committed this, but I couldn't test it as the target
doesn't currently build.  The change is obvious enough, though.

Neil.

	* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
	preference to CPP_PREDEFINES.

Index: stormy16.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/stormy16/stormy16.h,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -p -r1.69 -r1.70
--- stormy16.h	6 Mar 2003 20:03:49 -0000	1.69
+++ stormy16.h	8 Mar 2003 15:32:45 -0000	1.70
@@ -67,7 +67,10 @@ Boston, MA 02111-1307, USA.  */
 \f
 /* 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-08 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-08 15:35 Convert stormy16 to not use CPP_PREDEFINES Neil Booth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).