diff options
author | Neil Booth <neil@gcc.gnu.org> | 2003-03-09 22:01:15 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-03-09 22:01:15 +0000 |
commit | cc956ba2cb4d72bf79fd508b96a0e5aefb8b4882 (patch) | |
tree | 65d0d6a17e094bd608d3cc8c6cf1bb99cb3cb3a8 /gcc/config/ip2k | |
parent | 6544fbcb2ae41e065b956179bbc6cf7176c8901e (diff) | |
download | gcc-cc956ba2cb4d72bf79fd508b96a0e5aefb8b4882.zip gcc-cc956ba2cb4d72bf79fd508b96a0e5aefb8b4882.tar.gz gcc-cc956ba2cb4d72bf79fd508b96a0e5aefb8b4882.tar.bz2 |
frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
* config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
* config/ip2k/ip2k.h: Similarly.
* config/m32r/m32r.h: Similarly.
* config/m68hc11/m68hc11.h: Similarly.
* config/mn10200/mn10200.h: Similarly.
* config/mn10300/mn10300.h: Similarly.
* config/pdp11/pdp11.h: Similarly.
* config/v850/v850.h: Similarly.
* config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/mips/iris3.h: Remove #if 0 block.
From-SVN: r64049
Diffstat (limited to 'gcc/config/ip2k')
-rw-r--r-- | gcc/config/ip2k/ip2k.h | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h index 34f901c..a4cd4e4 100644 --- a/gcc/config/ip2k/ip2k.h +++ b/gcc/config/ip2k/ip2k.h @@ -27,26 +27,15 @@ Boston, MA 02111-1307, USA. */ #include "elfos.h" #undef ASM_SPEC /* But we have a GAS assembler. */ -#define CPP_PREDEFINES \ - "-DIP2K -D_DOUBLE_IS_32BITS -D__BUFSIZ__=512 -D__FILENAME_MAX__=128" -/* Define this to be a string constant containing `-D' options to - define the predefined macros that identify this machine and system. - These macros will be predefined unless the `-ansi' option is - specified. - - In addition, a parallel set of macros are predefined, whose names - are made by appending `__' at the beginning and at the end. These - `__' macros are permitted by the ANSI standard, so they are - predefined regardless of whether `-ansi' is specified. - - For example, on the Sun, one can use the following value: - - "-Dmc68000 -Dsun -Dunix" - - The result is to define the macros `__mc68000__', `__sun__' and - `__unix__' unconditionally, and the macros `mc68000', `sun' and - `unix' provided `-ansi' is not specified. */ - +#define TARGET_CPU_CPP_BUILTINS() \ + do \ + { \ + builtin_define_std ("IP2K"); \ + builtin_define ("_DOUBLE_IS_32BITS"); \ + builtin_define ("_BUFSIZ=512"); \ + builtin_define ("__FILENAME_MAX__=128"); \ + } \ + while (0) /* This declaration should be present. */ extern int target_flags; |