This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
New CPP builtins for fr30/
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 2 Jun 2002 20:48:18 +0100
- Subject: New CPP builtins for fr30/
Applied as obvious.
Neil.
* config/fr30/fr30.h: Update to new CPP macros.
Index: fr30.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/fr30/fr30.h,v
retrieving revision 1.35
diff -u -p -r1.35 fr30.h
--- fr30.h 29 May 2002 18:05:07 -0000 1.35
+++ fr30.h 2 Jun 2002 19:45:05 -0000
@@ -40,7 +40,13 @@ Boston, MA 02111-1307, USA. */
predefined macros that identify this machine and system. These macros will
be predefined unless the `-ansi' option is specified. */
-#define CPP_PREDEFINES "-Dfr30 -D__fr30__ -Amachine=fr30"
+#define TARGET_CPU_CPP_BUILTINS() \
+ do \
+ { \
+ builtin_define_std ("fr30"); \
+ builtin_assert ("machine=fr30"); \
+ } \
+ while (0)
/* Use LDI:20 instead of LDI:32 to load addresses. */
#define TARGET_SMALL_MODEL_MASK (1 << 0)