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

f9e83b
--- gcc/config.gcc.jj	2008-04-24 15:42:46.000000000 -0500
f9e83b
+++ gcc/config.gcc	2008-04-24 15:44:51.000000000 -0500
f9e83b
@@ -2656,7 +2656,7 @@ sparc-*-rtems*)
f9e83b
 	tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
f9e83b
 	tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
f9e83b
 	;;
f9e83b
-sparc-*-linux*)
f9e83b
+sparc-*-linux* | sparcv9-*-linux*)
f9e83b
 	tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
f9e83b
 	extra_options="${extra_options} sparc/long-double-switch.opt"
f9e83b
 	case ${target} in
f9e83b
@@ -2710,7 +2710,7 @@ sparc64-*-rtems*)
f9e83b
 	extra_options="${extra_options}"
f9e83b
 	tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
f9e83b
 	;;
f9e83b
-sparc64-*-linux*)
f9e83b
+sparc64*-*-linux*)
f9e83b
 	tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
f9e83b
 	extra_options="${extra_options} sparc/long-double-switch.opt"
f9e83b
 	tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
f9e83b
--- libgcc/config.host.jj	2008-04-24 15:46:19.000000000 -0500
f9e83b
+++ libgcc/config.host	2008-04-24 15:46:49.000000000 -0500
f9e83b
@@ -1002,7 +1002,7 @@ sparc-*-elf*)
f9e83b
 	tmake_file="${tmake_file} t-fdpbit t-crtfm"
f9e83b
 	extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
f9e83b
 	;;
f9e83b
-sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
f9e83b
+sparc-*-linux* | sparcv9-*-linux*)		# SPARC's running GNU/Linux, libc6
f9e83b
 	tmake_file="${tmake_file} t-crtfm"
f9e83b
 	if test "${host_address}" = 64; then
f9e83b
 		tmake_file="$tmake_file sparc/t-linux64"
f9e83b
@@ -1050,7 +1050,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
f9e83b
 	tmake_file="$tmake_file t-crtfm"
f9e83b
 	extra_parts="$extra_parts crtfastmath.o"
f9e83b
 	;;
f9e83b
-sparc64-*-linux*)		# 64-bit SPARC's running GNU/Linux
f9e83b
+sparc64*-*-linux*)		# 64-bit SPARC's running GNU/Linux
f9e83b
 	extra_parts="$extra_parts crtfastmath.o"
f9e83b
 	tmake_file="${tmake_file} t-crtfm sparc/t-linux"
f9e83b
 	if test "${host_address}" = 64; then