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

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