1
Index: b/Modules/_ctypes/libffi/config.guess
2
===================================================================
3
--- a/Modules/_ctypes/libffi/config.guess
4
+++ b/Modules/_ctypes/libffi/config.guess
6
# Attempt to guess a canonical system name.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
8
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
9
-# 2011 Free Software Foundation, Inc.
10
+# 2011, 2012 Free Software Foundation, Inc.
12
-timestamp='2011-06-03'
13
+timestamp='2012-02-10'
15
# This file is free software; you can redistribute it and/or modify it
16
# under the terms of the GNU General Public License as published by
18
# General Public License for more details.
20
# You should have received a copy of the GNU General Public License
21
-# along with this program; if not, write to the Free Software
22
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
24
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
26
# As a special exception to the GNU General Public License, if you
27
# distribute this file as part of a program that contains a
30
Originally written by Per Bothner.
31
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
32
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
33
-Software Foundation, Inc.
34
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
35
+Free Software Foundation, Inc.
37
This is free software; see the source for copying conditions. There is NO
38
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
40
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
42
# NetBSD (nbsd) targets should (where applicable) match one or
43
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
44
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
45
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
46
# switched to ELF, *-*-netbsd* would select the old
47
# object file format. This provides both forward
49
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
52
- case ${UNAME_MACHINE} in
54
- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
55
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
56
+ case ${UNAME_PROCESSOR} in
58
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
60
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
61
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
67
echo ${UNAME_MACHINE}-pc-mingw32
70
+ echo ${UNAME_MACHINE}-pc-msys
73
# uname -m includes "-pc" on this system.
74
echo ${UNAME_MACHINE}-mingw32
77
echo ${UNAME_MACHINE}-pc-minix
80
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
82
+ aarch64_be:Linux:*:*)
83
+ UNAME_MACHINE=aarch64_be
84
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
87
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
88
EV5) UNAME_MACHINE=alphaev5 ;;
90
echo ${UNAME_MACHINE}-unknown-linux-gnu
93
- echo cris-axis-linux-gnu
94
+ echo ${UNAME_MACHINE}-axis-linux-gnu
97
- echo crisv32-axis-linux-gnu
98
+ echo ${UNAME_MACHINE}-axis-linux-gnu
101
- echo frv-unknown-linux-gnu
102
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
105
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
110
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
113
- echo or32-unknown-linux-gnu
114
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
117
echo sparc-unknown-linux-gnu
119
echo ${UNAME_MACHINE}-dec-linux-gnu
122
- echo x86_64-unknown-linux-gnu
123
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
126
echo ${UNAME_MACHINE}-unknown-linux-gnu
127
@@ -1315,6 +1325,9 @@
129
echo ${UNAME_MACHINE}-pc-aros
131
+ x86_64:VMkernel:*:*)
132
+ echo ${UNAME_MACHINE}-unknown-esx
136
#echo '(No uname command or uname output not recognized.)' 1>&2
137
Index: b/Modules/_ctypes/libffi/config.sub
138
===================================================================
139
--- a/Modules/_ctypes/libffi/config.sub
140
+++ b/Modules/_ctypes/libffi/config.sub
142
# Configuration validation subroutine script.
143
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
144
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
145
-# 2011 Free Software Foundation, Inc.
146
+# 2011, 2012 Free Software Foundation, Inc.
148
-timestamp='2011-10-29'
149
+timestamp='2012-04-18'
151
# This file is (in principle) common to ALL GNU software.
152
# The presence of a machine in this file suggests that SOME GNU software
154
# GNU General Public License for more details.
156
# You should have received a copy of the GNU General Public License
157
-# along with this program; if not, write to the Free Software
158
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
160
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
162
# As a special exception to the GNU General Public License, if you
163
# distribute this file as part of a program that contains a
165
GNU config.sub ($timestamp)
167
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
168
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
169
-Software Foundation, Inc.
170
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
171
+Free Software Foundation, Inc.
173
This is free software; see the source for copying conditions. There is NO
174
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
177
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
181
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
184
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
185
if [ $basic_machine != $1 ]
188
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
200
# Some are omitted here because they have special meanings below.
203
+ | aarch64 | aarch64_be \
204
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
205
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
209
basic_machine=tic6x-unknown
211
- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
212
- # Motorola 68HC11/12.
213
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
214
basic_machine=$basic_machine-unknown
218
strongarm | thumb | xscale)
219
basic_machine=arm-unknown
223
+ basic_machine=$basic_machine-unknown
227
basic_machine=armeb-unknown
230
# Recognize the basic CPU types with company name.
233
+ | aarch64-* | aarch64_be-* \
234
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
235
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
236
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
239
basic_machine=i370-ibm
241
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
243
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
247
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
250
+ basic_machine=i386-pc
254
basic_machine=i370-ibm
256
@@ -1343,7 +1358,7 @@
257
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
258
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
259
| -chorusos* | -chorusrdb* | -cegcc* \
260
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
261
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
262
| -mingw32* | -linux-gnu* | -linux-android* \
263
| -linux-newlib* | -linux-uclibc* \
264
| -uxpv* | -beos* | -mpeix* | -udk* \
265
@@ -1528,6 +1543,9 @@
275
@@ -1555,9 +1573,6 @@
279
- # This also exists in the configure program, but was not the
286
===================================================================
290
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
291
# 2011, 2012 Free Software Foundation, Inc.
293
-timestamp='2012-02-10'
294
+timestamp='2012-04-18'
296
# This file is (in principle) common to ALL GNU software.
297
# The presence of a machine in this file suggests that SOME GNU software
300
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
311
@@ -1537,6 +1543,9 @@