changeset 16801:2ea24cdb1d83 libc-970101 libc-970102 libc-970103

Handle mips-unknown-linux-gnu
author Ian Lance Taylor <ian@cygnus.com>
date Tue, 31 Dec 1996 20:54:33 +0000
parents d250966726a4
children 93fc7aff4cc2
files config.sub
diffstat 1 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.sub	Tue Dec 31 20:51:53 1996 +0000
+++ b/config.sub	Tue Dec 31 20:54:33 1996 +0000
@@ -389,6 +389,14 @@
 	miniframe)
 		basic_machine=m68000-convergent
 		;;
+	mipsel*-linux*)
+		basic_machine=mipsel-unknown
+		os=-linux
+		;;
+	mips*-linux*)
+		basic_machine=mips-unknown
+		os=-linux
+		;;
 	mips3*-*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
 		;;
@@ -607,7 +615,11 @@
 # Here we handle the default manufacturer of certain CPU types.  It is in
 # some cases the only manufacturer, in others, it is the most popular.
 	mips)
-		basic_machine=mips-mips
+		if [ x$os = x-linux ]; then
+			basic_machine=mips-unknown
+		else
+			basic_machine=mips-mips
+		fi
 		;;
 	romp)
 		basic_machine=romp-ibm