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

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