summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-04-06 07:06:32 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2001-04-06 07:06:32 +0000
commitd2bc06280b651d4462ad5252c68e28c40c9ea88b (patch)
tree154df5793f8bed8a272e0a1faa882aa7ab33a0c6
parent79065db2d1a2faad16bd046fcd02812e6259a27a (diff)
downloadgcc-d2bc06280b651d4462ad5252c68e28c40c9ea88b.tar.gz
config.sub: Make sure to match an already-canonicalized machine name (eg.
2001-04-05 Alexandre Oliva <aoliva@redhat.com> * config.sub: Make sure to match an already-canonicalized machine name (eg. mn10300-unknown-elf). From-SVN: r41145
-rw-r--r--ChangeLog5
-rwxr-xr-xconfig.sub5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 627c6a27312..bc0c1b21621 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-05 Alexandre Oliva <aoliva@redhat.com>
+
+ * config.sub: Make sure to match an already-canonicalized
+ machine name (eg. mn10300-unknown-elf).
+
2001-04-01 Alexandre Oliva <aoliva@redhat.com>
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
diff --git a/config.sub b/config.sub
index edfef570a5c..86351bcb913 100755
--- a/config.sub
+++ b/config.sub
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
-version='2000-11-02'
+version='2001-04-06'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -940,6 +940,9 @@ case $basic_machine in
basic_machine=c4x-none
os=-coff
;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1