From cf0005c62f48c6e48a1426c360db98a3b192e87c Mon Sep 17 00:00:00 2001 From: David O'Brien Date: Thu, 11 Apr 2002 23:25:54 +0000 Subject: [PATCH] config.gcc (alpha*-*-openbsd, [...]): Include {cpu}/{cpu}.h thru tm_file. 2002-04-11 David O'Brien * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms): Include {cpu}/{cpu}.h thru tm_file. (alpha*-*-linux*ecoff): Remove target. * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__. (LINK_SPEC): Remove, is not OS independent. * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__. (LINK_SPEC): Do not need to #undef any longer. * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef any longer. * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define __ELF__. (LINK_SPEC): Moved here from alpha/elf.h. * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of SUB_CPP_PREDEFINES. * config/alpha/linux-ecoff.h: Remove. * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__. (CPP_SPEC): Define _POSIX_SOURCE as needed. (CPP_SUBTARGET_SPEC): Do not define. (LINK_SPEC): Do not need to #undef any longer. * config/alpha/openbsd.h: Do not directly include alpha/alpha.h. * config/alpha/vms.h: Likewise. Approved by: Richard Henderson Message-ID: <20020411152309.A11121@redhat.com> Message-ID: <20020411160159.B11250@redhat.com> Jason R Thorpe Message-ID: <20020411161434.I4954@dr-evil.shagadelic.org> From-SVN: r52186 --- gcc/ChangeLog | 24 ++++++++++++++++++++++ gcc/config.gcc | 12 +++-------- gcc/config/alpha/elf.h | 13 +++--------- gcc/config/alpha/freebsd.h | 3 +-- gcc/config/alpha/linux-ecoff.h | 37 ---------------------------------- gcc/config/alpha/linux-elf.h | 12 ++++++++--- gcc/config/alpha/linux.h | 3 +-- gcc/config/alpha/netbsd.h | 9 ++------- gcc/config/alpha/openbsd.h | 2 -- gcc/config/alpha/vms.h | 2 -- 10 files changed, 43 insertions(+), 74 deletions(-) delete mode 100644 gcc/config/alpha/linux-ecoff.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 55e343e8f68..1c8d84d1f08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,27 @@ +2002-04-11 David O'Brien + + * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms): + Include {cpu}/{cpu}.h thru tm_file. + (alpha*-*-linux*ecoff): Remove target. + * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__. + (LINK_SPEC): Remove, is not OS independent. + * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__. + (LINK_SPEC): Do not need to #undef any longer. + * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef + any longer. + * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define + __ELF__. + (LINK_SPEC): Moved here from alpha/elf.h. + * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of + SUB_CPP_PREDEFINES. + * config/alpha/linux-ecoff.h: Remove. + * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__. + (CPP_SPEC): Define _POSIX_SOURCE as needed. + (CPP_SUBTARGET_SPEC): Do not define. + (LINK_SPEC): Do not need to #undef any longer. + * config/alpha/openbsd.h: Do not directly include alpha/alpha.h. + * config/alpha/vms.h: Likewise. + 2002-04-11 Richard Sandiford tweaked for the alpha target. */ -#undef LINK_SPEC #define LINK_SPEC \ "%{G*} %{relax:-relax} \ %{O*:-O3} %{!O*:-O1} \ diff --git a/gcc/config/alpha/openbsd.h b/gcc/config/alpha/openbsd.h index 3424112cab6..d0247490161 100644 --- a/gcc/config/alpha/openbsd.h +++ b/gcc/config/alpha/openbsd.h @@ -21,8 +21,6 @@ Boston, MA 02111-1307, USA. */ /* We settle for little endian for now. */ #define TARGET_ENDIAN_DEFAULT 0 -#include - #define OBSD_NO_DYNAMIC_LIBRARIES #define OBSD_HAS_DECLARE_FUNCTION_NAME #define OBSD_HAS_DECLARE_FUNCTION_SIZE diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h index 7fee6be8ff6..79ec5b743a6 100644 --- a/gcc/config/alpha/vms.h +++ b/gcc/config/alpha/vms.h @@ -29,8 +29,6 @@ Boston, MA 02111-1307, USA. */ #define NO_EXTERNAL_INDIRECT_ADDRESS -#include "alpha/alpha.h" - #undef CPP_PREDEFINES #define CPP_PREDEFINES \ "-D__ALPHA -Dvms -DVMS -D__vms__ -D__VMS__ -Asystem=vms" -- 2.30.2