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

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