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

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