diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 1 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/netbsd-elf.h | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 7 |
5 files changed, 10 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66cf673..12c7f73 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2011-01-14 Joseph Myers <joseph@codesourcery.com> + * 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 <joseph@codesourcery.com> + * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of -mcpu options. * config/sparc/linux64.h (CC1_SPEC): Likewise. diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 756d30f..ec12424 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 6371b69..3562b46 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 b1b00ca..ed9cabe 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 b546d84..5137b5c 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<cpu> into new style -mcpu=<cpu>. - ??? Delete support for -m<cpu> for 2.9. */ -#define CC1_SPEC "\ -%{sun4:} %{target:} \ -" +#define CC1_SPEC "" /* Override in target specific files. */ #define ASM_CPU_SPEC "\ |