diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-06-12 00:02:07 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-06-12 00:02:07 +0000 |
commit | 169274cd2e214ea06a3478bd9dc14d83acd7fb9f (patch) | |
tree | df987459df2d6942684c12f97f5c4b2aa2bcc5b8 /gcc/config/vax/vaxv.h | |
parent | 2f41793e07ad6cca0c54517afe5661d9f0edd378 (diff) | |
download | gcc-169274cd2e214ea06a3478bd9dc14d83acd7fb9f.tar.gz |
config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
* config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
* config/vax/bsd.h: New file.
* config/vax/netbsd.h: Add missing notice.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_SPEC): Use NETBSD_CPP_SPEC.
* config/vax/openbsd.h: Update copyright years.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
* config/vax/ultrix.h: Likewise.
* config/vax/vaxv.h: Likewise.
* config/vax/vms.h: Likewise.
* config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define.
(CPP_PREDEFINES, CPP_SPEC): Remove.
From-SVN: r54538
Diffstat (limited to 'gcc/config/vax/vaxv.h')
-rw-r--r-- | gcc/config/vax/vaxv.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gcc/config/vax/vaxv.h b/gcc/config/vax/vaxv.h index 72c09fe8734..a86615277ea 100644 --- a/gcc/config/vax/vaxv.h +++ b/gcc/config/vax/vaxv.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. VAX sysV version. - Copyright (C) 1988, 1993, 1996, 2000 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 1996, 2000, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -22,8 +22,17 @@ Boston, MA 02111-1307, USA. */ #define SCCS_DIRECTIVE -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dvax -Dunix -Asystem=unix -Asystem=svr3 -Acpu=vax -Amachine=vax" +#define TARGET_OS_CPP_BUILTINS() \ + do \ + { \ + builtin_define_std ("unix"); \ + builtin_assert ("system=svr3"); \ + \ + builtin_define_std ("vax"); \ + if (TARGET_G_FLOAT) \ + builtin_define_std ("GFLOAT"); \ + } \ + while (0) /* Output #ident as a .ident. */ |