Blame SOURCES/gcc44-sparc-config-detection.patch

dc1507
--- gcc/config.gcc.jj	2008-04-24 15:42:46.000000000 -0500
dc1507
+++ gcc/config.gcc	2008-04-24 15:44:51.000000000 -0500
dc1507
@@ -2175,7 +2175,7 @@ sparc-*-elf*)
dc1507
 	tmake_file="sparc/t-elf sparc/t-crtfm"
dc1507
 	extra_parts="crti.o crtn.o crtbegin.o crtend.o"
dc1507
 	;;
dc1507
-sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
dc1507
+sparc-*-linux* | sparcv9*-*-linux*)		# SPARC's running GNU/Linux, libc6
dc1507
 	tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/gas.h linux.h"
dc1507
 	extra_options="${extra_options} sparc/long-double-switch.opt"
dc1507
 	tmake_file="${tmake_file} sparc/t-linux"
dc1507
@@ -2287,7 +2287,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
dc1507
 		*) echo "$with_cpu not supported for freebsd target"; exit 1 ;;
dc1507
 	esac
dc1507
 	;;
dc1507
-sparc64-*-linux*)		# 64-bit SPARC's running GNU/Linux
dc1507
+sparc64*-*-linux*)		# 64-bit SPARC's running GNU/Linux
dc1507
 	tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/gas.h linux.h sparc/linux64.h"
dc1507
 	extra_options="${extra_options} sparc/long-double-switch.opt"
dc1507
 	tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm"
dc1507
--- libgcc/config.host.jj	2008-04-24 15:46:19.000000000 -0500
dc1507
+++ libgcc/config.host	2008-04-24 15:46:49.000000000 -0500
dc1507
@@ -572,7 +572,7 @@ sparc64-*-openbsd*)
dc1507
 	;;
dc1507
 sparc-*-elf*)
dc1507
 	;;
dc1507
-sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
dc1507
+sparc-*-linux* | sparcv9*-*-linux*)		# SPARC's running GNU/Linux, libc6
dc1507
 	extra_parts="$extra_parts crtfastmath.o"
dc1507
 	tmake_file="${tmake_file} sparc/t-crtfm"
dc1507
 	;;
dc1507
@@ -590,7 +590,7 @@ sparc-wrs-vxworks)
dc1507
 	;;
dc1507
 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
dc1507
 	;;
dc1507
-sparc64-*-linux*)		# 64-bit SPARC's running GNU/Linux
dc1507
+sparc64*-*-linux*)		# 64-bit SPARC's running GNU/Linux
dc1507
 	extra_parts="$extra_parts crtfastmath.o"
dc1507
 	tmake_file="${tmake_file} sparc/t-crtfm"
dc1507
 	;;