1.1 --- a/scripts/config.guess Fri Feb 21 23:53:40 2014 -0800
1.2 +++ b/scripts/config.guess Fri Feb 21 23:28:12 2014 -0800
1.3 @@ -1,8 +1,8 @@
1.4 #! /bin/sh
1.5 # Attempt to guess a canonical system name.
1.6 -# Copyright 1992-2013 Free Software Foundation, Inc.
1.7 +# Copyright 1992-2014 Free Software Foundation, Inc.
1.8
1.9 -timestamp='2013-11-29'
1.10 +timestamp='2014-03-23'
1.11
1.12 # This file is free software; you can redistribute it and/or modify it
1.13 # under the terms of the GNU General Public License as published by
1.14 @@ -50,7 +50,7 @@
1.15 GNU config.guess ($timestamp)
1.16
1.17 Originally written by Per Bothner.
1.18 -Copyright 1992-2013 Free Software Foundation, Inc.
1.19 +Copyright 1992-2014 Free Software Foundation, Inc.
1.20
1.21 This is free software; see the source for copying conditions. There is NO
1.22 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
1.23 @@ -149,7 +149,7 @@
1.24 LIBC=gnu
1.25 #endif
1.26 EOF
1.27 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
1.28 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
1.29 ;;
1.30 esac
1.31
1.32 @@ -826,7 +826,7 @@
1.33 *:MINGW*:*)
1.34 echo ${UNAME_MACHINE}-pc-mingw32
1.35 exit ;;
1.36 - i*:MSYS*:*)
1.37 + *:MSYS*:*)
1.38 echo ${UNAME_MACHINE}-pc-msys
1.39 exit ;;
1.40 i*:windows32*:*)
1.41 @@ -969,10 +969,10 @@
1.42 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
1.43 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
1.44 ;;
1.45 - or1k:Linux:*:*)
1.46 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1.47 + openrisc*:Linux:*:*)
1.48 + echo or1k-unknown-linux-${LIBC}
1.49 exit ;;
1.50 - or32:Linux:*:*)
1.51 + or32:Linux:*:* | or1k*:Linux:*:*)
1.52 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1.53 exit ;;
1.54 padre:Linux:*:*)
1.55 @@ -1371,154 +1371,6 @@
1.56 exit ;;
1.57 esac
1.58
1.59 -eval $set_cc_for_build
1.60 -cat >$dummy.c <<EOF
1.61 -#ifdef _SEQUENT_
1.62 -# include <sys/types.h>
1.63 -# include <sys/utsname.h>
1.64 -#endif
1.65 -main ()
1.66 -{
1.67 -#if defined (sony)
1.68 -#if defined (MIPSEB)
1.69 - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1.70 - I don't know.... */
1.71 - printf ("mips-sony-bsd\n"); exit (0);
1.72 -#else
1.73 -#include <sys/param.h>
1.74 - printf ("m68k-sony-newsos%s\n",
1.75 -#ifdef NEWSOS4
1.76 - "4"
1.77 -#else
1.78 - ""
1.79 -#endif
1.80 - ); exit (0);
1.81 -#endif
1.82 -#endif
1.83 -
1.84 -#if defined (__arm) && defined (__acorn) && defined (__unix)
1.85 - printf ("arm-acorn-riscix\n"); exit (0);
1.86 -#endif
1.87 -
1.88 -#if defined (hp300) && !defined (hpux)
1.89 - printf ("m68k-hp-bsd\n"); exit (0);
1.90 -#endif
1.91 -
1.92 -#if defined (NeXT)
1.93 -#if !defined (__ARCHITECTURE__)
1.94 -#define __ARCHITECTURE__ "m68k"
1.95 -#endif
1.96 - int version;
1.97 - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1.98 - if (version < 4)
1.99 - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1.100 - else
1.101 - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1.102 - exit (0);
1.103 -#endif
1.104 -
1.105 -#if defined (MULTIMAX) || defined (n16)
1.106 -#if defined (UMAXV)
1.107 - printf ("ns32k-encore-sysv\n"); exit (0);
1.108 -#else
1.109 -#if defined (CMU)
1.110 - printf ("ns32k-encore-mach\n"); exit (0);
1.111 -#else
1.112 - printf ("ns32k-encore-bsd\n"); exit (0);
1.113 -#endif
1.114 -#endif
1.115 -#endif
1.116 -
1.117 -#if defined (__386BSD__)
1.118 - printf ("i386-pc-bsd\n"); exit (0);
1.119 -#endif
1.120 -
1.121 -#if defined (sequent)
1.122 -#if defined (i386)
1.123 - printf ("i386-sequent-dynix\n"); exit (0);
1.124 -#endif
1.125 -#if defined (ns32000)
1.126 - printf ("ns32k-sequent-dynix\n"); exit (0);
1.127 -#endif
1.128 -#endif
1.129 -
1.130 -#if defined (_SEQUENT_)
1.131 - struct utsname un;
1.132 -
1.133 - uname(&un);
1.134 -
1.135 - if (strncmp(un.version, "V2", 2) == 0) {
1.136 - printf ("i386-sequent-ptx2\n"); exit (0);
1.137 - }
1.138 - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1.139 - printf ("i386-sequent-ptx1\n"); exit (0);
1.140 - }
1.141 - printf ("i386-sequent-ptx\n"); exit (0);
1.142 -
1.143 -#endif
1.144 -
1.145 -#if defined (vax)
1.146 -# if !defined (ultrix)
1.147 -# include <sys/param.h>
1.148 -# if defined (BSD)
1.149 -# if BSD == 43
1.150 - printf ("vax-dec-bsd4.3\n"); exit (0);
1.151 -# else
1.152 -# if BSD == 199006
1.153 - printf ("vax-dec-bsd4.3reno\n"); exit (0);
1.154 -# else
1.155 - printf ("vax-dec-bsd\n"); exit (0);
1.156 -# endif
1.157 -# endif
1.158 -# else
1.159 - printf ("vax-dec-bsd\n"); exit (0);
1.160 -# endif
1.161 -# else
1.162 - printf ("vax-dec-ultrix\n"); exit (0);
1.163 -# endif
1.164 -#endif
1.165 -
1.166 -#if defined (alliant) && defined (i860)
1.167 - printf ("i860-alliant-bsd\n"); exit (0);
1.168 -#endif
1.169 -
1.170 - exit (1);
1.171 -}
1.172 -EOF
1.173 -
1.174 -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1.175 - { echo "$SYSTEM_NAME"; exit; }
1.176 -
1.177 -# Apollos put the system type in the environment.
1.178 -
1.179 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1.180 -
1.181 -# Convex versions that predate uname can use getsysinfo(1)
1.182 -
1.183 -if [ -x /usr/convex/getsysinfo ]
1.184 -then
1.185 - case `getsysinfo -f cpu_type` in
1.186 - c1*)
1.187 - echo c1-convex-bsd
1.188 - exit ;;
1.189 - c2*)
1.190 - if getsysinfo -f scalar_acc
1.191 - then echo c32-convex-bsd
1.192 - else echo c2-convex-bsd
1.193 - fi
1.194 - exit ;;
1.195 - c34*)
1.196 - echo c34-convex-bsd
1.197 - exit ;;
1.198 - c38*)
1.199 - echo c38-convex-bsd
1.200 - exit ;;
1.201 - c4*)
1.202 - echo c4-convex-bsd
1.203 - exit ;;
1.204 - esac
1.205 -fi
1.206 -
1.207 cat >&2 <<EOF
1.208 $0: unable to guess system type
1.209
2.1 --- a/scripts/config.sub Fri Feb 21 23:53:40 2014 -0800
2.2 +++ b/scripts/config.sub Fri Feb 21 23:28:12 2014 -0800
2.3 @@ -1,8 +1,8 @@
2.4 #! /bin/sh
2.5 # Configuration validation subroutine script.
2.6 -# Copyright 1992-2013 Free Software Foundation, Inc.
2.7 +# Copyright 1992-2014 Free Software Foundation, Inc.
2.8
2.9 -timestamp='2013-10-01'
2.10 +timestamp='2014-05-01'
2.11
2.12 # This file is free software; you can redistribute it and/or modify it
2.13 # under the terms of the GNU General Public License as published by
2.14 @@ -68,7 +68,7 @@
2.15 version="\
2.16 GNU config.sub ($timestamp)
2.17
2.18 -Copyright 1992-2013 Free Software Foundation, Inc.
2.19 +Copyright 1992-2014 Free Software Foundation, Inc.
2.20
2.21 This is free software; see the source for copying conditions. There is NO
2.22 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
2.23 @@ -283,8 +283,10 @@
2.24 | mips64vr5900 | mips64vr5900el \
2.25 | mipsisa32 | mipsisa32el \
2.26 | mipsisa32r2 | mipsisa32r2el \
2.27 + | mipsisa32r6 | mipsisa32r6el \
2.28 | mipsisa64 | mipsisa64el \
2.29 | mipsisa64r2 | mipsisa64r2el \
2.30 + | mipsisa64r6 | mipsisa64r6el \
2.31 | mipsisa64sb1 | mipsisa64sb1el \
2.32 | mipsisa64sr71k | mipsisa64sr71kel \
2.33 | mipsr5900 | mipsr5900el \
2.34 @@ -296,8 +298,7 @@
2.35 | nds32 | nds32le | nds32be \
2.36 | nios | nios2 | nios2eb | nios2el \
2.37 | ns16k | ns32k \
2.38 - | open8 \
2.39 - | or1k | or32 \
2.40 + | open8 | or1k | or1knd | or32 \
2.41 | pdp10 | pdp11 | pj | pjl \
2.42 | powerpc | powerpc64 | powerpc64le | powerpcle \
2.43 | pyramid \
2.44 @@ -402,8 +403,10 @@
2.45 | mips64vr5900-* | mips64vr5900el-* \
2.46 | mipsisa32-* | mipsisa32el-* \
2.47 | mipsisa32r2-* | mipsisa32r2el-* \
2.48 + | mipsisa32r6-* | mipsisa32r6el-* \
2.49 | mipsisa64-* | mipsisa64el-* \
2.50 | mipsisa64r2-* | mipsisa64r2el-* \
2.51 + | mipsisa64r6-* | mipsisa64r6el-* \
2.52 | mipsisa64sb1-* | mipsisa64sb1el-* \
2.53 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
2.54 | mipsr5900-* | mipsr5900el-* \
2.55 @@ -415,6 +418,7 @@
2.56 | nios-* | nios2-* | nios2eb-* | nios2el-* \
2.57 | none-* | np1-* | ns16k-* | ns32k-* \
2.58 | open8-* \
2.59 + | or1k*-* \
2.60 | orion-* \
2.61 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
2.62 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
2.63 @@ -1376,7 +1380,7 @@
2.64 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
2.65 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
2.66 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
2.67 - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
2.68 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
2.69 # Remember, each alternative MUST END IN *, to match a version number.
2.70 ;;
2.71 -qnx*)
2.72 @@ -1594,9 +1598,6 @@
2.73 mips*-*)
2.74 os=-elf
2.75 ;;
2.76 - or1k-*)
2.77 - os=-elf
2.78 - ;;
2.79 or32-*)
2.80 os=-coff
2.81 ;;