From f2060fbe8fc65f162a2c7fd1f5a57246aae708d2 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 14 Jan 2011 21:02:06 +0000 Subject: [PATCH] linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. * config/sparc/linux64.h (CC1_SPEC): Likewise. * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. * config/sparc/sparc.h (CC1_SPEC): Likewise. From-SVN: r168820 --- gcc/ChangeLog | 7 +++++++ gcc/config/sparc/linux.h | 1 - gcc/config/sparc/linux64.h | 2 -- gcc/config/sparc/netbsd-elf.h | 6 ++---- gcc/config/sparc/sparc.h | 7 +------ 5 files changed, 10 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66cf673ef3c..12c7f731d34 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-01-14 Joseph Myers + + * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. + * config/sparc/linux64.h (CC1_SPEC): Likewise. + * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. + * config/sparc/sparc.h (CC1_SPEC): Likewise. + 2011-01-14 Joseph Myers * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 756d30f17a9..ec1242445e2 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -42,7 +42,6 @@ along with GCC; see the file COPYING3. If not see /* This is for -profile to use -lc_p instead of -lc. */ #undef CC1_SPEC #define CC1_SPEC "%{profile:-p} \ -%{sun4:} %{target:} \ " #undef TARGET_VERSION diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 6371b69c7a5..3562b465cba 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -148,7 +148,6 @@ along with GCC; see the file COPYING3. If not see #undef CC1_SPEC #if DEFAULT_ARCH32_P #define CC1_SPEC "%{profile:-p} \ -%{sun4:} %{target:} \ %{m32:%{m64:%emay not use both -m32 and -m64}} \ %{m64:-mptr64 -mstack-bias -mlong-double-128 \ %{!mcpu*:-mcpu=ultrasparc} \ @@ -156,7 +155,6 @@ along with GCC; see the file COPYING3. If not see " #else #define CC1_SPEC "%{profile:-p} \ -%{sun4:} %{target:} \ %{m32:%{m64:%emay not use both -m32 and -m64}} \ %{m32:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \ %{!mcpu*:-mcpu=cypress}} \ diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h index b1b00ca86e7..ed9cabe1ed4 100644 --- a/gcc/config/sparc/netbsd-elf.h +++ b/gcc/config/sparc/netbsd-elf.h @@ -115,8 +115,7 @@ along with GCC; see the file COPYING3. If not see /* CC1_SPEC for NetBSD/sparc. */ #define CC1_SPEC32 \ - "%{sun4:} %{target:} \ - %{m32:%{m64:%emay not use both -m32 and -m64}} \ + "%{m32:%{m64:%emay not use both -m32 and -m64}} \ %{m64: \ -mptr64 -mstack-bias -mno-v8plus -mlong-double-128 \ %{!mcpu*:%{!mv8plus:-mcpu=ultrasparc}} \ @@ -125,8 +124,7 @@ along with GCC; see the file COPYING3. If not see %{pg:-mcmodel=medlow}}" #define CC1_SPEC64 \ - "%{sun4:} %{target:} \ - %{m32:%{m64:%emay not use both -m32 and -m64}} \ + "%{m32:%{m64:%emay not use both -m32 and -m64}} \ %{m32: \ -mptr32 -mno-stack-bias \ %{!mlong-double-128:-mlong-double-64} \ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index b546d84fe6f..5137b5c1903 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -398,15 +398,10 @@ extern enum cmodel sparc_cmodel; #define CPP_SPEC "%(cpp_cpu) %(cpp_arch) %(cpp_endian) %(cpp_subtarget)" -/* Prevent error on `-sun4' and `-target sun4' options. */ /* This used to translate -dalign to -malign, but that is no good because it can't turn off the usual meaning of making debugging dumps. */ -/* Translate old style -m into new style -mcpu=. - ??? Delete support for -m for 2.9. */ -#define CC1_SPEC "\ -%{sun4:} %{target:} \ -" +#define CC1_SPEC "" /* Override in target specific files. */ #define ASM_CPU_SPEC "\ -- 2.30.2