From e2b95588c87b9fae0fdf8f732ca8083deb587e9e Mon Sep 17 00:00:00 2001
From: Richard Stallman <rms@gnu.org>
Date: Thu, 5 Jun 1997 22:22:44 +0000
Subject: [PATCH] (mipsel*-linux* and mips*-linux*):

Set `os' to -linux-gnu directly, don't go via -linux.

From-SVN: r14154
---
 gcc/config.sub | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/config.sub b/gcc/config.sub
index 0131946b93ea..3f5c202f1488 100755
--- a/gcc/config.sub
+++ b/gcc/config.sub
@@ -391,11 +391,11 @@ case $basic_machine in
 		;;
 	mipsel*-linux*)
 		basic_machine=mipsel-unknown
-		os=-linux
+		os=-linux-gnu
 		;;
 	mips*-linux*)
 		basic_machine=mips-unknown
-		os=-linux
+		os=-linux-gnu
 		;;
 	mips3*-*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
@@ -585,7 +585,7 @@ case $basic_machine in
 		basic_machine=vax-dec
 		os=-vms
 		;;
-       vpp*|vx|vx-*)
+	vpp*|vx|vx-*)
                basic_machine=f301-fujitsu
                ;;
 	vxworks960)
@@ -615,7 +615,7 @@ case $basic_machine in
 # 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)
-		if [ x$os = x-linux ]; then
+		if [ x$os = x-linux-gnu ]; then
 			basic_machine=mips-unknown
 		else
 			basic_machine=mips-mips
-- 
GitLab