From: Neil Booth Date: Sun, 2 Jun 2002 19:47:10 +0000 (+0000) Subject: * config/fr30/fr30.h: Update to new CPP macros. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ac3e0c4660ee772aab86d517f6723a371db528b;p=gcc.git * config/fr30/fr30.h: Update to new CPP macros. From-SVN: r54182 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7bf78c0175b..dfce3a7726a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-06-02 Neil Booth + + * config/fr30/fr30.h: Update to new CPP macros. + 2002-06-02 Neil Booth * config/dsp16xx/dsp16xx.h: Update to new CPP macros. diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h index 33ba6ca31ac..1b0dd067947 100644 --- a/gcc/config/fr30/fr30.h +++ b/gcc/config/fr30/fr30.h @@ -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)