<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/eeb7c0da51acf5cc2af4c94f2a7c4ea5d80f6e43">https://github.com/macports/macports-base/commit/eeb7c0da51acf5cc2af4c94f2a7c4ea5d80f6e43</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new eeb7c0d auto*: bump config.guess and config.sub to 2019-03-04
</span>eeb7c0d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit eeb7c0da51acf5cc2af4c94f2a7c4ea5d80f6e43
</span>Author: Eitan Adler <lists@eitanadler.com>
AuthorDate: Fri Mar 29 23:17:58 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> auto*: bump config.guess and config.sub to 2019-03-04
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> These are primarily non-functional changes for us but reduce the diff in
</span><span style='display:block; white-space:pre;color:#404040;'> the future should we ever need to update again.
</span>---
config.guess | 269 +++++++++++---
config.sub | 1127 +++++++++++++++++++++++++++++-----------------------------
2 files changed, 777 insertions(+), 619 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/config.guess b/config.guess
</span><span style='display:block; white-space:pre;color:#808080;'>index 445c406..79d1317 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/config.guess
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/config.guess
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span> #! /bin/sh
# Attempt to guess a canonical system name.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Copyright 1992-2018 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Copyright 1992-2019 Free Software Foundation, Inc.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-timestamp='2018-06-26'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+timestamp='2019-03-04'
</span>
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +50,7 @@ version="\
</span> GNU config.guess ($timestamp)
Originally written by Per Bothner.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Copyright 1992-2018 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Copyright 1992-2019 Free Software Foundation, Inc.
</span>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,8 +84,6 @@ if test $# != 0; then
</span> exit 1
fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>-trap 'exit 1' 1 2 15
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
# compiler to aid in system detection is discouraged as it requires
# temporary files to be created and, as you can see below, it is a
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -96,34 +94,38 @@ trap 'exit 1' 1 2 15
</span>
# Portable tmp directory creation inspired by the Autoconf team.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set_cc_for_build='
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-: ${TMPDIR=/tmp} ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dummy=$tmp/dummy ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ,,) echo "int x;" > "$dummy.c" ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for c in cc gcc c89 c99 ; do
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CC_FOR_BUILD="$c"; break ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- done ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test x"$CC_FOR_BUILD" = x ; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CC_FOR_BUILD=no_compiler_found ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ,,*) CC_FOR_BUILD=$CC ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ,*,*) CC_FOR_BUILD=$HOST_CC ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-esac ; set_cc_for_build= ;'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+tmp=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# shellcheck disable=SC2172
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set_cc_for_build() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : "${TMPDIR=/tmp}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # shellcheck disable=SC2039
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dummy=$tmp/dummy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ,,) echo "int x;" > "$dummy.c"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for driver in cc gcc c89 c99 ; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC_FOR_BUILD="$driver"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test x"$CC_FOR_BUILD" = x ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC_FOR_BUILD=no_compiler_found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ,,*) CC_FOR_BUILD=$CC ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if test -f /.attbin/uname ; then
</span> PATH=$PATH:/.attbin ; export PATH
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -138,7 +140,7 @@ Linux|GNU|GNU/*)
</span> # We could probably try harder.
LIBC=gnu
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> cat <<-EOF > "$dummy.c"
#include <features.h>
#if defined(__UCLIBC__)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -199,7 +201,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
</span> os=netbsdelf
;;
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ELF__
then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -389,7 +391,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
</span> echo i386-pc-auroraux"$UNAME_RELEASE"
exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> SUN_ARCH=i386
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -482,7 +484,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
</span> echo clipper-intergraph-clix"$UNAME_RELEASE"
exit ;;
mips:*:*:UMIPS | mips:*:*:RISCos)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> sed 's/^ //' << EOF > "$dummy.c"
#ifdef __cplusplus
#include <stdio.h> /* for printf() prototype */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -579,7 +581,7 @@ EOF
</span> exit ;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> sed 's/^ //' << EOF > "$dummy.c"
#include <sys/systemcfg.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -660,7 +662,7 @@ EOF
</span> esac
fi
if [ "$HP_ARCH" = "" ]; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> sed 's/^ //' << EOF > "$dummy.c"
#define _HPUX_SOURCE
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -700,7 +702,7 @@ EOF
</span> esac
if [ "$HP_ARCH" = hppa2.0w ]
then
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span>
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -726,7 +728,7 @@ EOF
</span> echo ia64-hp-hpux"$HPUX_REV"
exit ;;
3050*:HI-UX:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> sed 's/^ //' << EOF > "$dummy.c"
#include <unistd.h>
int
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -840,6 +842,17 @@ EOF
</span> *:BSD/OS:*:*)
echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
exit ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ arm:FreeBSD:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ UNAME_PROCESSOR=`uname -p`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | grep -q __ARM_PCS_VFP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit ;;
</span> *:FreeBSD:*:*)
UNAME_PROCESSOR=`/usr/bin/uname -p`
case "$UNAME_PROCESSOR" in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -881,7 +894,7 @@ EOF
</span> echo "$UNAME_MACHINE"-pc-uwin
exit ;;
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo x86_64-unknown-cygwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo x86_64-pc-cygwin
</span> exit ;;
prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -922,7 +935,7 @@ EOF
</span> echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;;
arm*:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -971,23 +984,51 @@ EOF
</span> echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;;
mips:Linux:*:* | mips64:Linux:*:*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IS_GLIBC=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test x"${LIBC}" = xgnu && IS_GLIBC=1
</span> sed 's/^ //' << EOF > "$dummy.c"
#undef CPU
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #undef ${UNAME_MACHINE}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #undef ${UNAME_MACHINE}el
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef mips
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef mipsel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef mips64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef mips64el
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if ${IS_GLIBC} && defined(_ABI64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBCABI=gnuabi64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if ${IS_GLIBC} && defined(_ABIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBCABI=gnuabin32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBCABI=${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPU=mipsisa64r6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPU=mipsisa32r6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__mips64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPU=mips64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPU=mips
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CPU=${UNAME_MACHINE}el
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MIPS_ENDIAN=el
</span> #else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CPU=${UNAME_MACHINE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MIPS_ENDIAN=
</span> #else
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CPU=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MIPS_ENDIAN=
</span> #endif
#endif
EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'`"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; }
</span> ;;
mips64el:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1100,7 +1141,7 @@ EOF
</span> *Pentium) UNAME_MACHINE=i586 ;;
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}"
</span> exit ;;
i*86:*:3.2:*)
if test -f /usr/options/cb.name; then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1285,7 +1326,7 @@ EOF
</span> exit ;;
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>- eval "$set_cc_for_build"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_cc_for_build
</span> if test "$UNAME_PROCESSOR" = unknown ; then
UNAME_PROCESSOR=powerpc
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1358,6 +1399,7 @@ EOF
</span> # "uname -m" is not consistent, so use $cputype instead. 386
# is converted to i386 for consistency with other x86
# operating systems.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # shellcheck disable=SC2154
</span> if test "$cputype" = 386; then
UNAME_MACHINE=i386
else
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1414,8 +1456,135 @@ EOF
</span> amd64:Isilon\ OneFS:*:*)
echo x86_64-unknown-onefs
exit ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ *:Unleashed:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$UNAME_MACHINE"-unknown-unleashed"$UNAME_RELEASE"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit ;;
</span> esac
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# No uname command or uname output not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set_cc_for_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cat > "$dummy.c" <<EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef _SEQUENT_
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include <sys/utsname.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+main ()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (sony)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (MIPSEB)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ I don't know.... */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("mips-sony-bsd\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include <sys/param.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("m68k-sony-newsos%s\n",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifdef NEWSOS4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "4"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (NeXT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if !defined (__ARCHITECTURE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define __ARCHITECTURE__ "m68k"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int version;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (version < 4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (MULTIMAX) || defined (n16)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (UMAXV)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("ns32k-encore-sysv\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (CMU)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("ns32k-encore-mach\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("ns32k-encore-bsd\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (__386BSD__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("i386-pc-bsd\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (sequent)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (i386)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("i386-sequent-dynix\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (ns32000)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("ns32k-sequent-dynix\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (_SEQUENT_)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ struct utsname un;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uname(&un);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (strncmp(un.version, "V2", 2) == 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("i386-sequent-ptx2\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("i386-sequent-ptx1\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("i386-sequent-ptx\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (vax)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if !defined (ultrix)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include <sys/param.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (BSD)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if BSD == 43
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("vax-dec-bsd4.3\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if BSD == 199006
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("vax-dec-bsd\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("vax-dec-bsd\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("vax-dec-ultrix\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include <signal.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(_SIZE_T_) /* >= ULTRIX4 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("mips-dec-ultrix4\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(ULTRIX3) || defined(ultrix3) || defined(SIGLOST)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("mips-dec-ultrix3\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined (alliant) && defined (i860)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("i860-alliant-bsd\n"); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit (1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+$CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`$dummy` &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { echo "$SYSTEM_NAME"; exit; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Apollos put the system type in the environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> echo "$0: unable to guess system type" >&2
case "$UNAME_MACHINE:$UNAME_SYSTEM" in
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/config.sub b/config.sub
</span>old mode 100755
new mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index c95acc6..a44fd8a
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/config.sub
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/config.sub
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span> #! /bin/sh
# Configuration validation subroutine script.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Copyright 1992-2018 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Copyright 1992-2019 Free Software Foundation, Inc.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-timestamp='2018-07-03'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+timestamp='2019-01-05'
</span>
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
</span> version="\
GNU config.sub ($timestamp)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Copyright 1992-2018 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Copyright 1992-2019 Free Software Foundation, Inc.
</span>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -89,7 +89,7 @@ while test $# -gt 0 ; do
</span> - ) # Use stdin as input.
break ;;
-* )
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "$me: invalid option $1$help"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "$me: invalid option $1$help" >&2
</span> exit 1 ;;
*local*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,7 +111,8 @@ case $# in
</span> esac
# Split fields of configuration type
<span style='display:block; white-space:pre;background:#ffe0e0;'>-IFS="-" read -r field1 field2 field3 field4 <<EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# shellcheck disable=SC2162
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+IFS="-" read field1 field2 field3 field4 <<EOF
</span> $1
EOF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -149,29 +150,39 @@ case $1 in
</span> esac
;;
*-*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Second component is usually, but not always the OS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case $field2 in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Prevent following clause from handling this valid os
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sun*os*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$field1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=$field2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Manufacturers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dec* | mips* | sequent* | encore* | pc532* | sgi* | sony* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | unicom* | ibm* | next | hp | isi* | apollo | altos* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | convergent* | ncr* | news | 32* | 3600* | 3100* | hitachi* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | c[123]* | convex* | sun | crds | omron* | dg | ultra | tti* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | harris | dolphin | highlevel | gould | cbm | ns | masscomp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | apple | axis | knuth | cray | microblaze* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sim | cisco | oki | wec | wrs | winbond)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$field1-$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # A lone config we happen to match not fitting any pattern
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $field1-$field2 in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ decstation-3100)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=mips-dec
</span> os=
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$field1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=$field2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Second component is usually, but not always the OS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $field2 in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Prevent following clause from handling this valid os
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun*os*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Manufacturers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | unicom* | ibm* | next | hp | isi* | apollo | altos* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | convergent* | ncr* | news | 32* | 3600* | 3100* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | ultra | tti* | harris | dolphin | highlevel | gould \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | cbm | ns | masscomp | apple | axis | knuth | cray \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | microblaze* | sim | cisco \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | oki | wec | wrs | winbond)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1-$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=$field1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$field2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> esac
;;
*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -190,6 +201,14 @@ case $1 in
</span> basic_machine=m68010-adobe
os=scout
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ alliant)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=fx80-alliant
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ altos | altos3068)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-altos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> am29k)
basic_machine=a29k-none
os=bsd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -198,6 +217,10 @@ case $1 in
</span> basic_machine=580-amdahl
os=sysv
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ amiga)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> amigaos | amigados)
basic_machine=m68k-unknown
os=amigaos
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -234,13 +257,41 @@ case $1 in
</span> basic_machine=arm-unknown
os=cegcc
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ convex-c1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=c1-convex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ convex-c2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=c2-convex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ convex-c32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=c32-convex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ convex-c34)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=c34-convex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ convex-c38)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=c38-convex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=bsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> cray)
basic_machine=j90-cray
os=unicos
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- craynv)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=craynv-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=unicosmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ crds | unos)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-crds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ da30)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-da30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ decstation | pmax | pmin | dec3100 | decstatn)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=mips-dec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span> ;;
delta88)
basic_machine=m88k-motorola
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -286,6 +337,9 @@ case $1 in
</span> basic_machine=m88k-harris
os=sysv3
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ hp300)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> hp300bsd)
basic_machine=m68k-hp
os=bsd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -307,7 +361,7 @@ case $1 in
</span> os=mach
;;
vsta)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-pc
</span> os=vsta
;;
isi68 | isi)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -371,7 +425,7 @@ case $1 in
</span> os=sysv4
;;
netbsd386)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-pc
</span> os=netbsd
;;
netwinder)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -454,14 +508,26 @@ case $1 in
</span> basic_machine=mips-sei
os=seiux
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ sequent)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-sequent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> sps7)
basic_machine=m68k-bull
os=sysv2
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ st2000)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> stratus)
basic_machine=i860-stratus
os=sysv4
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68000-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> sun2os3)
basic_machine=m68000-sun
os=sunos3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -470,6 +536,10 @@ case $1 in
</span> basic_machine=m68000-sun
os=sunos4
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> sun3os3)
basic_machine=m68k-sun
os=sunos3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -478,6 +548,10 @@ case $1 in
</span> basic_machine=m68k-sun
os=sunos4
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> sun4os3)
basic_machine=sparc-sun
os=sunos3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -490,6 +564,10 @@ case $1 in
</span> basic_machine=sparc-sun
os=solaris2
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ sun386 | sun386i | roadrunner)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=i386-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span> sv1)
basic_machine=sv1-cray
os=unicos
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -562,417 +640,162 @@ case $1 in
</span> ;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Decode aliases for certain CPU-COMPANY combinations.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Decode 1-component or ad-hoc basic machines
</span> case $basic_machine in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Recognize the basic CPU types without company name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Some are omitted here because they have special meanings below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1750a | 580 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | a29k \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | aarch64 | aarch64_be \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | am33_2.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | arc | arceb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | avr | avr32 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ba \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | be32 | be64 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | bfin \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | c4x | c8051 | clipper | csky \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | d10v | d30v | dlx | dsp16xx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | e2k | epiphany \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | fido | fr30 | frv | ft32 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | hexagon \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | i370 | i860 | i960 | ia16 | ia64 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ip2k | iq2000 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | k1om \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | le32 | le64 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | lm32 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | m32c | m32r | m32rle | m68000 | m68k | m88k \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips | mipsbe | mipseb | mipsel | mipsle \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips16 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64 | mips64el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64octeon | mips64octeonel \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64orion | mips64orionel \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64r5900 | mips64r5900el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr | mips64vrel \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr4100 | mips64vr4100el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr4300 | mips64vr4300el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr5000 | mips64vr5000el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr5900 | mips64vr5900el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa32 | mipsisa32el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa32r2 | mipsisa32r2el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa32r6 | mipsisa32r6el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64 | mipsisa64el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64r2 | mipsisa64r2el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64r6 | mipsisa64r6el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64sb1 | mipsisa64sb1el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64sr71k | mipsisa64sr71kel \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsr5900 | mipsr5900el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipstx39 | mipstx39el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mn10200 | mn10300 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | moxie \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | msp430 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | nds32 | nds32le | nds32be \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | nfp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | nios | nios2 | nios2eb | nios2el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ns16k | ns32k \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | open8 | or1k | or1knd | or32 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | pdp10 | pj | pjl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | powerpc | powerpc64 | powerpc64le | powerpcle \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | pru \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | pyramid \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | riscv | riscv32 | riscv64 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | rl78 | rx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | score \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sh64 | sh64le \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | spu \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ubicom32 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | visium \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | wasm32 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | x86 | xc16x | xstormy16 | xtensa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | z8k | z80)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$basic_machine-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c54x)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic54x-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c55x)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic55x-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c6x)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic6x-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- leon|leon[3-9])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-$basic_machine
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$basic_machine-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-none}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Here we handle the default manufacturer of certain CPU types. It is in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # some cases the only manufacturer, in others, it is the most popular.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ w89k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=winbond
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- m9s12z | m68hcs12z | hcs12z | s12z)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=s12z-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-none}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ op50n)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=oki
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ms1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mt-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ op60c)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=oki
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- strongarm | thumb | xscale)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=arm-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ibm*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i370
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xgate)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$basic_machine-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-none}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ orion105)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=clipper
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=highlevel
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xscaleeb)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=armeb-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac | mpw | mac-mpw)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=apple
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xscaleel)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=armel-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pmac | pmac-mpw)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=powerpc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=apple
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # We use `pc' rather than `unknown'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # because (1) that's what they normally are, and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (2) the word "unknown" tends to confuse beginning users.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- i*86 | x86_64)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$basic_machine-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Recognize the basic CPU types with company name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 580-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | a29k-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | aarch64-* | aarch64_be-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | avr-* | avr32-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ba-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | be32-* | be64-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | bfin-* | bs2000-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | c[123]* | c30-* | [cjt]90-* | c4x-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | d10v-* | d30v-* | dlx-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | e2k-* | elxsi-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | h8300-* | h8500-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | hexagon-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ip2k-* | iq2000-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | k1om-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | le32-* | le64-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | lm32-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | m32c-* | m32r-* | m32rle-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | microblaze-* | microblazeel-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips16-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64-* | mips64el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64octeon-* | mips64octeonel-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64orion-* | mips64orionel-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64r5900-* | mips64r5900el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr-* | mips64vrel-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr4100-* | mips64vr4100el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr4300-* | mips64vr4300el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr5000-* | mips64vr5000el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mips64vr5900-* | mips64vr5900el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa32-* | mipsisa32el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa32r2-* | mipsisa32r2el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa32r6-* | mipsisa32r6el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64-* | mipsisa64el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64r2-* | mipsisa64r2el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64r6-* | mipsisa64r6el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64sb1-* | mipsisa64sb1el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsisa64sr71k-* | mipsisa64sr71kel-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipsr5900-* | mipsr5900el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mipstx39-* | mipstx39el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mmix-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | mt-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | msp430-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | nds32-* | nds32le-* | nds32be-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | nfp-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | nios-* | nios2-* | nios2eb-* | nios2el-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | none-* | np1-* | ns16k-* | ns32k-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | open8-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | or1k*-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | orion-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | pru-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | pyramid-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | riscv-* | riscv32-* | riscv64-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | rl78-* | romp-* | rs6000-* | rx-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sparclite-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | tahoe-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | tile*-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | tron-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ubicom32-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | vax-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | visium-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | wasm32-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | we32k-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | x86-* | x86_64-* | xc16x-* | xps100-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | xstormy16-* | xtensa*-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | ymp-* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- | z8k-* | z80-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Recognize the basic CPU types without company name, with glob match.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xtensa*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$basic_machine-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> # Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68000-att
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=att
</span> ;;
3b*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=we32k-att
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- abacus)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=abacus-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- alliant | fx80)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=fx80-alliant
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- altos | altos3068)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-altos
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- amd64)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=x86_64-pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- amd64-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- amiga | amiga-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- asmjs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=asmjs-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- blackfin-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=we32k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=att
</span> ;;
bluegene*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=powerpc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> os=cnk
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- c54x-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c55x-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c6x-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c90)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=c90-cray
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-unicos}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- convex-c1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=c1-convex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- convex-c2)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=c2-convex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- convex-c32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=c32-convex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- convex-c34)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=c34-convex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- convex-c38)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=c38-convex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cr16 | cr16-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=cr16-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-elf}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crds | unos)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-crds
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crisv32 | crisv32-* | etraxfs*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=crisv32-axis
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cris | cris-* | etrax*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=cris-axis
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crx)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=crx-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-elf}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- da30 | da30-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-da30
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mips-dec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> decsystem10* | dec10*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=pdp10-dec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=pdp10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=dec
</span> os=tops10
;;
decsystem20* | dec20*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=pdp10-dec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=pdp10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=dec
</span> os=tops20
;;
delta | 3300 | motorola-3300 | motorola-delta \
| 3300-motorola | delta-motorola)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-motorola
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dpx20 | dpx20-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=rs6000-bull
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-bosx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=motorola
</span> ;;
dpx2*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-bull
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=bull
</span> os=sysv3
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- e500v[12])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=$os"spe"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- e500v[12]-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=$os"spe"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> encore | umax | mmax)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=ns32k-encore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=ns32k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=encore
</span> ;;
elxsi)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=elxsi-elxsi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=elxsi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=elxsi
</span> os=${os:-bsd}
;;
fx2800)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i860-alliant
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i860
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=alliant
</span> ;;
genix)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=ns32k-ns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=ns32k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ns
</span> ;;
h3050r* | hiux*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hitachi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hitachi
</span> os=hiuxwe2
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- hp300-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-hp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> hp3k9[0-9][0-9] | hp9[0-9][0-9])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.0-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k2[0-9][0-9] | hp9k31[0-9])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68000-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k3[2-9][0-9])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k6[0-9][0-9] | hp6[0-9][0-9])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.0-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k7[0-79][0-9] | hp7[0-79][0-9])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k78[0-9] | hp78[0-9])
# FIXME: really hppa2.0-hp
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
# FIXME: really hppa2.0-hp
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k8[0-9][13679] | hp8[0-9][13679])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
hp9k8[0-9][0-9] | hp8[0-9][0-9])
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.0-hp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- i370-ibm* | ibm*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i370-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hp
</span> ;;
i*86v32)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc
</span> os=sysv32
;;
i*86v4*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc
</span> os=sysv4
;;
i*86v)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc
</span> os=sysv
;;
i*86sol2)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc
</span> os=solaris2
;;
j90 | j90-cray)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=j90-cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=j90
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=cray
</span> os=${os:-unicos}
;;
iris | iris4d)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mips-sgi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mips
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=sgi
</span> case $os in
irix*)
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -981,40 +804,27 @@ case $basic_machine in
</span> ;;
esac
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- leon-*|leon[3-9]-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- m68knommu-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=linux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- microblaze*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=microblaze-xilinx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> miniframe)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68000-convergent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=convergent
</span> ;;
*mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-atari
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=atari
</span> os=mint
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- mips3*-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mips3*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ms1-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span> news-3600 | risc-news)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mips-sony
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mips
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=sony
</span> os=newsos
;;
next | m*-next)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-next
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=next
</span> case $os in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- nextstep* )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openstep*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nextstep*)
</span> ;;
ns2*)
os=nextstep2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1025,260 +835,441 @@ case $basic_machine in
</span> esac
;;
np1)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=np1-gould
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=np1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=gould
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- neo-tandem)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=neo-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ op50n-* | op60c-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=oki
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- nse-tandem)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=nse-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pa-hitachi)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=hitachi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=hiuxwe2
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- nsr-tandem)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=nsr-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pbd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=sparc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=tti
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- nsv-tandem)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=nsv-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pbb)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=tti
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- nsx-tandem)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=nsx-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pc532)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=ns32k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc532
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- op50n-* | op60c-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-oki
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pn)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=pn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=gould
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- openrisc | openrisc-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=or32-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ power)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=power
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pa-hitachi)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-hitachi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=hiuxwe2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ps2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- parisc-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=linux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm[46]00)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mips
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=siemens
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pbd)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-tti
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rtpc | rtpc-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=romp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pbb)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-tti
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sde)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mipsisa32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=sde
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-elf}
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pc532 | pc532-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=ns32k-pc532
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ simso-wrs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=sparclite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=wrs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=vxworks
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pc98)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tower | tower-32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ncr
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pc98-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vpp*|vx|vx-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=f301
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=fujitsu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ w65)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=w65
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=wdc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ w89k-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=winbond
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=proelf
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentium | p5 | k5 | k6 | nexgen | viac3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i586-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ none)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=none
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentiumpro | p6 | 6x86 | athlon | athlon_*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ leon|leon[3-9])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=sparc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=$basic_machine
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentiumii | pentium2 | pentiumiii | pentium3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ leon-*|leon[3-9]-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=sparc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=`echo "$basic_machine" | sed 's/-.*//'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentium4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i786-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # shellcheck disable=SC2162
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IFS="-" read cpu vendor <<EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+$basic_machine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+EOF
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # We use `pc' rather than `unknown'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # because (1) that's what they normally are, and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (2) the word "unknown" tends to confuse beginning users.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i*86 | x86_64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=$basic_machine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentiumpro-* | p6-* | 6x86-* | athlon-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # These rules are duplicated from below for sake of the special case above;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # i.e. things that normalized to x86 arches should also default to "pc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pc98)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x64 | amd64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=pc
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pentium4-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Recognize the basic CPU types without company name.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=$basic_machine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=unknown
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pn)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=pn-gould
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+unset -v basic_machine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Decode basic machines in the full and proper CPU-Company form.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case $cpu-$vendor in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Here we handle the default manufacturer of certain CPU types in canonical form. It is in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # some cases the only manufacturer, in others, it is the most popular.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ craynv-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-unicosmp}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c90-unknown | c90-cray)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=cray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-unicos}
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- power) basic_machine=power-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fx80-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=alliant
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppc | ppcbe) basic_machine=powerpc-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ romp-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppc-* | ppcbe-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mmix-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=knuth
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppcle | powerpclittle)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpcle-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ microblaze-unknown | microblazeel-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=xilinx
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppcle-* | powerpclittle-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rs6000-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppc64) basic_machine=powerpc64-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vax-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=dec
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pdp11-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=dec
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppc64le | powerpc64little)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc64le-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ we32k-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=att
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppc64le-* | powerpc64little-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cydra-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=cydrome
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ps2)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i370-ibm*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rm[46]00)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mips-siemens
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ orion-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=highlevel
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rtpc | rtpc-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=romp-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xps-unknown | xps100-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=xps100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=honeywell
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Here we normalize CPU types with a missing or matching vendor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dpx20-unknown | dpx20-bull)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=rs6000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=bull
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-bosx}
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- s390 | s390-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=s390-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Here we normalize CPU types irrespective of the vendor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ amd64-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=x86_64
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- s390x | s390x-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=s390x-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ blackfin-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=bfin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sb1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mipsisa64sb1-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c54x-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=tic54x
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sb1el)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mipsisa64sb1el-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c55x-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=tic55x
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sde)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mipsisa32-sde
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-elf}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c6x-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=tic6x
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sequent)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-sequent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e500v[12]-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=powerpc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=$os"spe"
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sh5el)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sh5le-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mips3*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mips64
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- simso-wrs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparclite-wrs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=vxworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ms1-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mt
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- spur)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=spur-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m68knommu-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=m68k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- st2000)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=s12z
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- strongarm-* | thumb-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openrisc-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=or32
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sun2)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68000-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parisc-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=hppa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=linux
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sun3 | sun3-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i586
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sun4)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sparc-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i686
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sun386 | sun386i | roadrunner)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=i386-sun
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i686
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- tile*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=$basic_machine-unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=linux-gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pentium4-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i786
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- tx39)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mipstx39-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pc98-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=i386
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- tx39el)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mipstx39el-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc-* | ppcbe-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=powerpc
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- tower | tower-32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-ncr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppcle-* | powerpclittle-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=powerpcle
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- vpp*|vx|vx-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=f301-fujitsu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc64-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=powerpc64
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- w65*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=w65-wdc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc64le-* | powerpc64little-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=powerpc64le
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- w89k-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-winbond
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=proelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sb1-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mipsisa64sb1
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- x64)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=x86_64-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sb1el-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mipsisa64sb1el
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xps | xps100)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=xps100-honeywell
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sh5e[lb]-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xscale-* | xscalee[bl]-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ spur-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=spur
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- none)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=none-none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- os=${os:-none}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ strongarm-* | thumb-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=arm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Here we handle the default manufacturer of certain CPU types. It is in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# some cases the only manufacturer, in others, it is the most popular.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- w89k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-winbond
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tx39-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mipstx39
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- op50n)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-oki
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tx39el-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=mipstx39el
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- op60c)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=hppa1.1-oki
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x64-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=x86_64
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- romp)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=romp-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xscale-* | xscalee[bl]-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- mmix)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=mmix-knuth
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Recognize the canonical CPU Types that limit and/or modify the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # company names they are paired with.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cr16-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-elf}
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rs6000)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=rs6000-ibm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ crisv32-* | etraxfs*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=crisv32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=axis
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- vax)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=vax-dec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cris-* | etrax*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=cris
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=axis
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pdp11)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=pdp11-dec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ crx-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-elf}
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- we32k)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=we32k-att
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ neo-tandem)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=neo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=tandem
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=sh-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nse-tandem)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=nse
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=tandem
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- cydra)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=cydra-cydrome
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nsr-tandem)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=nsr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=tandem
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- orion)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=orion-highlevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nsv-tandem)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=nsv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=tandem
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- orion105)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=clipper-highlevel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nsx-tandem)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=nsx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=tandem
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- mac | mpw | mac-mpw)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=m68k-apple
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s390-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=s390
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pmac | pmac-mpw)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=powerpc-apple
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s390x-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpu=s390x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=ibm
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- *-unknown)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Make sure to match an already-canonicalized machine name.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tile*-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=${os:-linux-gnu}
</span> ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> *)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exit 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Recognize the canonical CPU types that are allowed with any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # company name.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $cpu in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1750a | 580 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | a29k \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | aarch64 | aarch64_be \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | abacus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | alphapca5[67] | alpha64pca5[67] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | am33_2.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | amdgcn \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | arc | arceb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | arm | arm[lb]e | arme[lb] | armv* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | avr | avr32 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | asmjs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | ba \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | be32 | be64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | bfin | bs2000 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | c[123]* | c30 | [cjt]90 | c4x \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | c8051 | clipper | craynv | csky | cydra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | d10v | d30v | dlx | dsp16xx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | e2k | elxsi | epiphany \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | h8300 | h8500 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | hexagon \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | i370 | i*86 | i860 | i960 | ia16 | ia64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | ip2k | iq2000 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | k1om \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | le32 | le64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | lm32 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | m32c | m32r | m32rle \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | m88110 | m88k | maxq | mb | mcore | mep | metag \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | microblaze | microblazeel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips | mipsbe | mipseb | mipsel | mipsle \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips16 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64 | mips64eb | mips64el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64octeon | mips64octeonel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64orion | mips64orionel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64r5900 | mips64r5900el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64vr | mips64vrel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64vr4100 | mips64vr4100el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64vr4300 | mips64vr4300el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64vr5000 | mips64vr5000el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mips64vr5900 | mips64vr5900el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa32 | mipsisa32el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa32r2 | mipsisa32r2el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa32r6 | mipsisa32r6el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa64 | mipsisa64el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa64r2 | mipsisa64r2el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa64r6 | mipsisa64r6el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa64sb1 | mipsisa64sb1el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsisa64sr71k | mipsisa64sr71kel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipsr5900 | mipsr5900el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mipstx39 | mipstx39el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mmix \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mn10200 | mn10300 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | moxie \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | mt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | msp430 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | nds32 | nds32le | nds32be \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | nfp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | nios | nios2 | nios2eb | nios2el \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | none | np1 | ns16k | ns32k | nvptx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | open8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | or1k* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | or32 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | orion \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | picochip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | pdp10 | pdp11 | pj | pjl | pn | power \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | pru \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | pyramid \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | riscv | riscv32 | riscv64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | rl78 | romp | rs6000 | rx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | score \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sh | shl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sparclite \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | spu \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | tahoe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | tron \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | ubicom32 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | vax \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | visium \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | w65 | wasm32 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | we32k \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | x86 | x86_64 | xc16x | xgate | xps100 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | xstormy16 | xtensa* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | ymp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | z8k | z80)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span> ;;
esac
# Here we canonicalize certain aliases for manufacturers.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-case $basic_machine in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *-digital*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case $vendor in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ digital*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=dec
</span> ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- *-commodore*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ commodore*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vendor=cbm
</span> ;;
*)
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1356,7 +1347,7 @@ case $os in
</span> | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
| aos* | aros* | cloudabi* | sortix* \
| nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | clix* | riscos* | uniplus* | iris* | rtu* | xenix* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
</span> | knetbsd* | mirbsd* | netbsd* \
| bitrig* | openbsd* | solidbsd* | libertybsd* \
| ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1376,12 +1367,12 @@ case $os in
</span> | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | midnightbsd*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | midnightbsd* | amdhsa* | unleashed* | emscripten*)
</span> # Remember, each alternative MUST END IN *, to match a version number.
;;
qnx*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case $basic_machine in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- x86-* | i*86-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $cpu in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86 | i*86)
</span> ;;
*)
os=nto-$os
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1507,7 +1498,7 @@ case $os in
</span> # Until real need of OS specific support for
# particular features comes up, bare metal
# configurations are quite functional.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $cpu in
</span> arm*)
os=eabi
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1541,7 +1532,7 @@ else
</span> # will signal an error saying that MANUFACTURER isn't an operating
# system, and we'll never get to this point.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case $cpu-$vendor in
</span> score-*)
os=elf
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1722,9 +1713,8 @@ fi
</span>
# Here we handle the case where we know the os, and the CPU type, but not the
# manufacturer. We pick the logical manufacturer.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-vendor=unknown
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-case $basic_machine in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *-unknown)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case $vendor in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unknown)
</span> case $os in
riscix*)
vendor=acorn
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1793,11 +1783,10 @@ case $basic_machine in
</span> vendor=stratus
;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>- basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
</span> ;;
esac
<span style='display:block; white-space:pre;background:#ffe0e0;'>-echo "$basic_machine-$os"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+echo "$cpu-$vendor-$os"
</span> exit
# Local variables:
</pre><pre style='margin:0'>
</pre>