Commit f2060fbe by Joseph Myers Committed by Joseph Myers

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
parent 3a7b4385
2011-01-14 Joseph Myers <joseph@codesourcery.com> 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 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
-mcpu options. -mcpu options.
* config/sparc/linux64.h (CC1_SPEC): Likewise. * config/sparc/linux64.h (CC1_SPEC): Likewise.
......
...@@ -42,7 +42,6 @@ along with GCC; see the file COPYING3. If not see ...@@ -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. */ /* This is for -profile to use -lc_p instead of -lc. */
#undef CC1_SPEC #undef CC1_SPEC
#define CC1_SPEC "%{profile:-p} \ #define CC1_SPEC "%{profile:-p} \
%{sun4:} %{target:} \
" "
#undef TARGET_VERSION #undef TARGET_VERSION
......
...@@ -148,7 +148,6 @@ along with GCC; see the file COPYING3. If not see ...@@ -148,7 +148,6 @@ along with GCC; see the file COPYING3. If not see
#undef CC1_SPEC #undef CC1_SPEC
#if DEFAULT_ARCH32_P #if DEFAULT_ARCH32_P
#define CC1_SPEC "%{profile:-p} \ #define CC1_SPEC "%{profile:-p} \
%{sun4:} %{target:} \
%{m32:%{m64:%emay not use both -m32 and -m64}} \ %{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m64:-mptr64 -mstack-bias -mlong-double-128 \ %{m64:-mptr64 -mstack-bias -mlong-double-128 \
%{!mcpu*:-mcpu=ultrasparc} \ %{!mcpu*:-mcpu=ultrasparc} \
...@@ -156,7 +155,6 @@ along with GCC; see the file COPYING3. If not see ...@@ -156,7 +155,6 @@ along with GCC; see the file COPYING3. If not see
" "
#else #else
#define CC1_SPEC "%{profile:-p} \ #define CC1_SPEC "%{profile:-p} \
%{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} \ %{m32:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \
%{!mcpu*:-mcpu=cypress}} \ %{!mcpu*:-mcpu=cypress}} \
......
...@@ -115,8 +115,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -115,8 +115,7 @@ along with GCC; see the file COPYING3. If not see
/* CC1_SPEC for NetBSD/sparc. */ /* CC1_SPEC for NetBSD/sparc. */
#define CC1_SPEC32 \ #define CC1_SPEC32 \
"%{sun4:} %{target:} \ "%{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m64: \ %{m64: \
-mptr64 -mstack-bias -mno-v8plus -mlong-double-128 \ -mptr64 -mstack-bias -mno-v8plus -mlong-double-128 \
%{!mcpu*:%{!mv8plus:-mcpu=ultrasparc}} \ %{!mcpu*:%{!mv8plus:-mcpu=ultrasparc}} \
...@@ -125,8 +124,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -125,8 +124,7 @@ along with GCC; see the file COPYING3. If not see
%{pg:-mcmodel=medlow}}" %{pg:-mcmodel=medlow}}"
#define CC1_SPEC64 \ #define CC1_SPEC64 \
"%{sun4:} %{target:} \ "%{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m32:%{m64:%emay not use both -m32 and -m64}} \
%{m32: \ %{m32: \
-mptr32 -mno-stack-bias \ -mptr32 -mno-stack-bias \
%{!mlong-double-128:-mlong-double-64} \ %{!mlong-double-128:-mlong-double-64} \
......
...@@ -398,15 +398,10 @@ extern enum cmodel sparc_cmodel; ...@@ -398,15 +398,10 @@ extern enum cmodel sparc_cmodel;
#define CPP_SPEC "%(cpp_cpu) %(cpp_arch) %(cpp_endian) %(cpp_subtarget)" #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 /* 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. */ 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 "\ #define CC1_SPEC ""
%{sun4:} %{target:} \
"
/* Override in target specific files. */ /* Override in target specific files. */
#define ASM_CPU_SPEC "\ #define ASM_CPU_SPEC "\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment