From b5f57ac8502985bd267c74d49e681b05ce90c897 Mon Sep 17 00:00:00 2001
From: Richard Stallman <rms@gnu.org>
Date: Tue, 23 Aug 1994 06:04:59 +0000
Subject: [PATCH] Move m68k-ccur handling to proper part of file.

Canonicalize cpu type pentium into i486.  (Change it to i586 later.)

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

diff --git a/gcc/config.sub b/gcc/config.sub
index a62afd029afe..6c3dd9933147 100755
--- a/gcc/config.sub
+++ b/gcc/config.sub
@@ -170,10 +170,6 @@ case $basic_machine in
 		basic_machine=ns32k-sequent
 		os=-dynix
 		;;
-	m68k-ccur)
-		basic_machine=m68k-ccur
-		os=-rtu
-		;;
 	convex-c1)
 		basic_machine=c1-convex
 		os=-bsd
@@ -384,6 +380,11 @@ case $basic_machine in
         pc532)
 		basic_machine=ns32k-pc532
 		;;
+	pentium-*)
+		# We will change tis to say i586 once there has been
+		# time for various packages to start to recognize that.
+		basic_machine=i486-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	pn)
 		basic_machine=pn-gould
 		;;
@@ -660,6 +661,9 @@ case $basic_machine in
 	*-dolphin)
 		os=-sysv3
 		;;
+	m68k-ccur)
+		os=-rtu
+		;;
 	m88k-omron*)
 		os=-luna
 		;;
-- 
GitLab