linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 14 Jan 2011 21:02:06 +0000 (21:02 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 14 Jan 2011 21:02:06 +0000 (21:02 +0000)
* 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
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h
gcc/config/sparc/netbsd-elf.h
gcc/config/sparc/sparc.h

index 66cf673ef3c3553fed316d4ab23cfb028863a9f3..12c7f731d3401c1a56cf83d9cdec61039ca0a39f 100644 (file)
@@ -1,3 +1,10 @@
+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
index 756d30f17a9057521df2f1066e1a7b2d282a5c41..ec1242445e22ca83ae5efdbe6d5e33bc7f479870 100644 (file)
@@ -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
index 6371b69c7a53c339f37e09b44baef0f6c5cecb35..3562b465cbacc1522baf62afa928da770e6a5260 100644 (file)
@@ -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}} \
index b1b00ca86e706bd454b46586b8986f17d5ff8e67..ed9cabe1ed45dd1e62c44aa3e612038861f9a420 100644 (file)
@@ -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} \
index b546d84fe6fa3a7987f762dada49dba2f124fd84..5137b5c19031aea2d609496702d45ce6e1fa76d0 100644 (file)
@@ -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 "\