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

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