From e6abef61404d0a466798cbcafc0d1a30e08628ab Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 3 Jan 2005 22:00:25 +0100 Subject: [PATCH] litecoff.h (TARGET_OS_CPP_BUILTINS): Do not register "sparc". * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not register "sparc". * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise. * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete. * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. From-SVN: r92864 --- gcc/ChangeLog | 9 +++++++++ gcc/config/sparc/litecoff.h | 1 - gcc/config/sparc/rtemself.h | 1 - gcc/config/sparc/sol2-64.h | 9 --------- gcc/config/sparc/sp64-elf.h | 9 --------- gcc/config/sparc/sysv4-only.h | 1 - 6 files changed, 9 insertions(+), 21 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec51b64..9a19981 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2005-01-03 Eric Botcazou + + * config/sparc/litecoff.h (TARGET_OS_CPP_BUILTINS): Do not + register "sparc". + * config/sparc/sysv4-only.h (TARGET_OS_CPP_BUILTINS): Likewise. + * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. + * config/sparc/sol2-64.h (TARGET_SUB_OS_CPP_BUILTINS): Delete. + * config/sparc/sp64-elf.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. + 2005-01-03 Richard Henderson * config/ia64/ia64.c (TARGET_VECTOR_MODE_SUPPORTED_P): New. diff --git a/gcc/config/sparc/litecoff.h b/gcc/config/sparc/litecoff.h index ab3c931..2bfdbf3 100644 --- a/gcc/config/sparc/litecoff.h +++ b/gcc/config/sparc/litecoff.h @@ -24,7 +24,6 @@ Boston, MA 02111-1307, USA. */ #define TARGET_OS_CPP_BUILTINS() \ do \ { \ - builtin_define_std ("sparc"); \ builtin_define_std ("sparclite"); \ } \ while (0) diff --git a/gcc/config/sparc/rtemself.h b/gcc/config/sparc/rtemself.h index ffb2a72..bd9eea4 100644 --- a/gcc/config/sparc/rtemself.h +++ b/gcc/config/sparc/rtemself.h @@ -23,7 +23,6 @@ Boston, MA 02111-1307, USA. */ #define TARGET_SUB_OS_CPP_BUILTINS() \ do \ { \ - builtin_define_std ("sparc"); \ builtin_define ("__rtems__"); \ builtin_define ("__USE_INIT_FINI__"); \ builtin_assert ("system=rtems"); \ diff --git a/gcc/config/sparc/sol2-64.h b/gcc/config/sparc/sol2-64.h index d53747a..2a15f3d 100644 --- a/gcc/config/sparc/sol2-64.h +++ b/gcc/config/sparc/sol2-64.h @@ -5,12 +5,3 @@ #define TARGET_DEFAULT \ (MASK_V9 + MASK_PTR64 + MASK_64BIT /* + MASK_HARD_QUAD */ + \ MASK_STACK_BIAS + MASK_FPU + MASK_LONG_DOUBLE_128) - -/* Target OS builtins. */ -#undef TARGET_SUB_OS_CPP_BUILTINS -#define TARGET_SUB_OS_CPP_BUILTINS() \ - do \ - { \ - builtin_define_std ("sparc"); \ - } \ - while (0) diff --git a/gcc/config/sparc/sp64-elf.h b/gcc/config/sparc/sp64-elf.h index 39dad13..a07786d 100644 --- a/gcc/config/sparc/sp64-elf.h +++ b/gcc/config/sparc/sp64-elf.h @@ -38,15 +38,6 @@ Boston, MA 02111-1307, USA. */ #undef SPARC_DEFAULT_CMODEL #define SPARC_DEFAULT_CMODEL CM_EMBMEDANY -/* Target OS builtins for config/sol.h. */ -#undef TARGET_SUB_OS_CPP_BUILTINS -#define TARGET_SUB_OS_CPP_BUILTINS() \ - do \ - { \ - builtin_define_std ("sparc"); \ - } \ - while (0) - /* __svr4__ is used by the C library (FIXME) */ #undef CPP_SUBTARGET_SPEC #define CPP_SUBTARGET_SPEC "-D__svr4__" diff --git a/gcc/config/sparc/sysv4-only.h b/gcc/config/sparc/sysv4-only.h index da265a0..e87313b 100644 --- a/gcc/config/sparc/sysv4-only.h +++ b/gcc/config/sparc/sysv4-only.h @@ -26,7 +26,6 @@ Boston, MA 02111-1307, USA. */ #define TARGET_OS_CPP_BUILTINS() \ do \ { \ - builtin_define_std ("sparc"); \ builtin_define_std ("unix"); \ builtin_define ("__svr4__"); \ builtin_assert ("system=unix"); \ -- 2.7.4