From: Neil Booth Date: Sat, 8 Mar 2003 15:32:45 +0000 (+0000) Subject: stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in preference to CPP_PREDEFINES. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4555be989ffa8bc510f8760f9110e67faf63657e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b788053bd4..6cb8d160e38 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-08 Neil Booth + + * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in + preference to CPP_PREDEFINES. + 2003-03-08 Neil Booth * cppinit.c (cpp_finish_options): Set first_unused_line to -1. 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;