Skip to content

Commit bf41f30

Browse files
committed
Update top level configure files by synchronizing them with gcc.
. * config-ml.in: Sync with gcc sources. * config.guess: Likewise. * config.sub: Likewise. * configure.ac: Likewise. * configure: Regenerate. config * Sync with GCC sources: 2017-11-14 Boris Kolpackov <[email protected]> * gcc-plugin.m4: Add support for MinGW. 2017-11-17 Igor Tsimbalist <[email protected]> * cet.m4: New file. 2017-11-15 Alexandre Oliva <[email protected]> * bootstrap-debug-lean.mk (do-compare): Use the contrib/compare-debug script. 2017-10-24 H.J. Lu <[email protected]> * bootstrap-cet.mk: New file. 2017-06-19 Martin Liska <[email protected]> * bootstrap-lto-noplugin.mk: Enable -flto in all PGO stages. * bootstrap-lto.mk: Likewise. 2017-06-03 Eric Botcazou <[email protected]> * mt-android: New file. 2017-02-13 Richard Biener <[email protected]> * isl.m4: Remove support for ISL 0.14. 2017-01-19 Uros Bizjak <[email protected]> PR target/78478 * ax_check_define.m4: New file. 2017-01-17 Jakub Jelinek <[email protected]> PR other/79046 * acx.m4 (GCC_BASE_VER): New m4 function. (ACX_TOOL_DIRS): Require GCC_BASE_VER, for --with-gcc-major-version-only use just major number from BASE-VER. 2017-01-06 Rainer Orth <[email protected]> PR go/78978 * hwcaps.m4 (GCC_CHECK_ASSEMBLER_HWCAP): New macro.
1 parent 2a8ae71 commit bf41f30

20 files changed

+686
-338
lines changed

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2018-01-10 Nick Clifton <[email protected]>
2+
3+
* config-ml.in: Sync with gcc sources.
4+
* config.guess: Likewise.
5+
* config.sub: Likewise.
6+
* configure.ac: Likewise.
7+
18
2017-12-14 Nick Clifton <[email protected]>
29

310
* COPYING.LIBGLOSS: Update address of FSF in copyright notice.

binutils/ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2018-01-10 Nick Clifton <[email protected]>
2+
3+
* MAINTAINERS: Note that it is now the configure.ac file and not
4+
the configure.in file that needs to be kept in sync with gcc.
5+
Add a note about sending patches for libiberty to gcc.
6+
17
2018-01-03 Nick Clifton <[email protected]>
28

39
* objcopy.c (merge_gnu_build_notes): Add cast to maximum address

binutils/MAINTAINERS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ top level config.guess and config.sub scripts should be sent to:
2222
2323

2424
and not to the binutils lists. Patches to the other top level
25-
configure files (configure, configure.in, config-ml.in) should
25+
configure files (configure, configure.ac, config-ml.in) should
2626
be sent to the binutils lists, and copied to the gcc and gdb
2727
lists as well ([email protected] and
2828
2929

30+
Patches to the libiberty sources should be sent to
31+
32+
3033
--------- Blanket Write Privs ---------
3134

3235
The following people have permission to check patches into the

config-ml.in

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,6 @@ multi-do:
511511
ADAFLAGS="$(ADAFLAGS) $${flags}" \
512512
prefix="$(prefix)" \
513513
exec_prefix="$(exec_prefix)" \
514-
GCJFLAGS="$(GCJFLAGS) $${flags}" \
515514
GOCFLAGS="$(GOCFLAGS) $${flags}" \
516515
CXXFLAGS="$(CXXFLAGS) $${flags}" \
517516
LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
@@ -746,13 +745,12 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
746745
break
747746
fi
748747
done
749-
ml_config_env='CC="${CC_}$flags" CXX="${CXX_}$flags" F77="${F77_}$flags" GCJ="${GCJ_}$flags" GFORTRAN="${GFORTRAN_}$flags" GOC="${GOC_}$flags"'
748+
ml_config_env='CC="${CC_}$flags" CXX="${CXX_}$flags" F77="${F77_}$flags" GFORTRAN="${GFORTRAN_}$flags" GOC="${GOC_}$flags"'
750749

751750
if [ "${with_target_subdir}" = "." ]; then
752751
CC_=$CC' '
753752
CXX_=$CXX' '
754753
F77_=$F77' '
755-
GCJ_=$GCJ' '
756754
GFORTRAN_=$GFORTRAN' '
757755
GOC_=$GOC' '
758756
else
@@ -795,18 +793,6 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
795793
esac
796794
done
797795

798-
GCJ_=
799-
for arg in ${GCJ}; do
800-
case $arg in
801-
-[BIL]"${ML_POPDIR}"/*)
802-
GCJ_="${GCJ_}"`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
803-
"${ML_POPDIR}"/*)
804-
GCJ_="${GCJ_}"`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
805-
*)
806-
GCJ_="${GCJ_}${arg} " ;;
807-
esac
808-
done
809-
810796
GFORTRAN_=
811797
for arg in ${GFORTRAN}; do
812798
case $arg in

config.guess

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#! /bin/sh
22
# Attempt to guess a canonical system name.
3-
# Copyright 1992-2017 Free Software Foundation, Inc.
3+
# Copyright 1992-2018 Free Software Foundation, Inc.
44

5-
timestamp='2017-03-22'
5+
timestamp='2018-01-01'
66

77
# This file is free software; you can redistribute it and/or modify it
88
# under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ timestamp='2017-03-22'
1515
# General Public License for more details.
1616
#
1717
# You should have received a copy of the GNU General Public License
18-
# along with this program; if not, see <http://www.gnu.org/licenses/>.
18+
# along with this program; if not, see <https://www.gnu.org/licenses/>.
1919
#
2020
# As a special exception to the GNU General Public License, if you
2121
# distribute this file as part of a program that contains a
@@ -27,7 +27,7 @@ timestamp='2017-03-22'
2727
# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
2828
#
2929
# You can get the latest version of this script from:
30-
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
30+
# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
3131
#
3232
# Please send patches to <[email protected]>.
3333

@@ -39,7 +39,7 @@ Usage: $0 [OPTION]
3939
4040
Output the configuration name of the system \`$me' is run on.
4141
42-
Operation modes:
42+
Options:
4343
-h, --help print this help, then exit
4444
-t, --time-stamp print date of last modification, then exit
4545
-v, --version print version number, then exit
@@ -50,7 +50,7 @@ version="\
5050
GNU config.guess ($timestamp)
5151
5252
Originally written by Per Bothner.
53-
Copyright 1992-2017 Free Software Foundation, Inc.
53+
Copyright 1992-2018 Free Software Foundation, Inc.
5454
5555
This is free software; see the source for copying conditions. There is NO
5656
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -244,6 +244,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
244244
UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
245245
echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
246246
exit ;;
247+
*:MidnightBSD:*:*)
248+
echo ${UNAME_MACHINE}-unknown-midnightbsd${UNAME_RELEASE}
249+
exit ;;
247250
*:ekkoBSD:*:*)
248251
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
249252
exit ;;
@@ -259,6 +262,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
259262
*:Sortix:*:*)
260263
echo ${UNAME_MACHINE}-unknown-sortix
261264
exit ;;
265+
*:Redox:*:*)
266+
echo ${UNAME_MACHINE}-unknown-redox
267+
exit ;;
268+
mips:OSF1:*.*)
269+
echo mips-dec-osf1
270+
exit ;;
262271
alpha:OSF1:*:*)
263272
case $UNAME_RELEASE in
264273
*4.0)
@@ -315,15 +324,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
315324
exitcode=$?
316325
trap '' 0
317326
exit $exitcode ;;
318-
Alpha\ *:Windows_NT*:*)
319-
# How do we know it's Interix rather than the generic POSIX subsystem?
320-
# Should we change UNAME_MACHINE based on the output of uname instead
321-
# of the specific Alpha model?
322-
echo alpha-pc-interix
323-
exit ;;
324-
21064:Windows_NT:50:3)
325-
echo alpha-dec-winnt3.5
326-
exit ;;
327327
Amiga*:UNIX_System_V:4.0:*)
328328
echo m68k-unknown-sysv4
329329
exit ;;
@@ -485,13 +485,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
485485
#endif
486486
#if defined (host_mips) && defined (MIPSEB)
487487
#if defined (SYSTYPE_SYSV)
488-
printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
488+
printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
489489
#endif
490490
#if defined (SYSTYPE_SVR4)
491-
printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
491+
printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
492492
#endif
493493
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
494-
printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
494+
printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
495495
#endif
496496
#endif
497497
exit (-1);
@@ -614,7 +614,7 @@ EOF
614614
*:AIX:*:*)
615615
echo rs6000-ibm-aix
616616
exit ;;
617-
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
617+
ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
618618
echo romp-ibm-bsd4.4
619619
exit ;;
620620
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
@@ -635,8 +635,8 @@ EOF
635635
9000/[34678]??:HP-UX:*:*)
636636
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
637637
case "${UNAME_MACHINE}" in
638-
9000/31? ) HP_ARCH=m68000 ;;
639-
9000/[34]?? ) HP_ARCH=m68k ;;
638+
9000/31?) HP_ARCH=m68000 ;;
639+
9000/[34]??) HP_ARCH=m68k ;;
640640
9000/[678][0-9][0-9])
641641
if [ -x /usr/bin/getconf ]; then
642642
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
@@ -749,7 +749,7 @@ EOF
749749
{ echo "$SYSTEM_NAME"; exit; }
750750
echo unknown-hitachi-hiuxwe2
751751
exit ;;
752-
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
752+
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
753753
echo hppa1.1-hp-bsd
754754
exit ;;
755755
9000/8??:4.3bsd:*:*)
@@ -758,7 +758,7 @@ EOF
758758
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
759759
echo hppa1.0-hp-mpeix
760760
exit ;;
761-
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
761+
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
762762
echo hppa1.1-hp-osf
763763
exit ;;
764764
hp8??:OSF1:*:*)
@@ -837,7 +837,7 @@ EOF
837837
UNAME_PROCESSOR=`/usr/bin/uname -p`
838838
case ${UNAME_PROCESSOR} in
839839
amd64)
840-
UNAME_PROCESSOR=x86_64 ;;
840+
UNAME_PROCESSOR=x86_64 ;;
841841
i386)
842842
UNAME_PROCESSOR=i586 ;;
843843
esac
@@ -855,10 +855,6 @@ EOF
855855
*:MSYS*:*)
856856
echo ${UNAME_MACHINE}-pc-msys
857857
exit ;;
858-
i*:windows32*:*)
859-
# uname -m includes "-pc" on this system.
860-
echo ${UNAME_MACHINE}-mingw32
861-
exit ;;
862858
i*:PW*:*)
863859
echo ${UNAME_MACHINE}-pc-pw32
864860
exit ;;
@@ -874,27 +870,12 @@ EOF
874870
echo ia64-unknown-interix${UNAME_RELEASE}
875871
exit ;;
876872
esac ;;
877-
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
878-
echo i${UNAME_MACHINE}-pc-mks
879-
exit ;;
880-
8664:Windows_NT:*)
881-
echo x86_64-pc-mks
882-
exit ;;
883-
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
884-
# How do we know it's Interix rather than the generic POSIX subsystem?
885-
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
886-
# UNAME_MACHINE based on the output of uname instead of i386?
887-
echo i586-pc-interix
888-
exit ;;
889873
i*:UWIN*:*)
890874
echo ${UNAME_MACHINE}-pc-uwin
891875
exit ;;
892876
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
893877
echo x86_64-unknown-cygwin
894878
exit ;;
895-
p*:CYGWIN*:*)
896-
echo powerpcle-unknown-cygwin
897-
exit ;;
898879
prep*:SunOS:5.*:*)
899880
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
900881
exit ;;
@@ -1097,7 +1078,7 @@ EOF
10971078
i*86:*DOS:*:*)
10981079
echo ${UNAME_MACHINE}-pc-msdosdjgpp
10991080
exit ;;
1100-
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1081+
i*86:*:4.*:*)
11011082
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
11021083
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
11031084
echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
@@ -1304,14 +1285,21 @@ EOF
13041285
if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
13051286
if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
13061287
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1307-
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1308-
grep IS_64BIT_ARCH >/dev/null
1288+
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1289+
grep IS_64BIT_ARCH >/dev/null
13091290
then
13101291
case $UNAME_PROCESSOR in
13111292
i386) UNAME_PROCESSOR=x86_64 ;;
13121293
powerpc) UNAME_PROCESSOR=powerpc64 ;;
13131294
esac
13141295
fi
1296+
# On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1297+
if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1298+
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1299+
grep IS_PPC >/dev/null
1300+
then
1301+
UNAME_PROCESSOR=powerpc
1302+
fi
13151303
fi
13161304
elif test "$UNAME_PROCESSOR" = i386 ; then
13171305
# Avoid executing cc on OS X 10.9, as it ships with a stub
@@ -1335,16 +1323,16 @@ EOF
13351323
*:QNX:*:4*)
13361324
echo i386-pc-qnx
13371325
exit ;;
1338-
NEO-?:NONSTOP_KERNEL:*:*)
1326+
NEO-*:NONSTOP_KERNEL:*:*)
13391327
echo neo-tandem-nsk${UNAME_RELEASE}
13401328
exit ;;
13411329
NSE-*:NONSTOP_KERNEL:*:*)
13421330
echo nse-tandem-nsk${UNAME_RELEASE}
13431331
exit ;;
1344-
NSR-?:NONSTOP_KERNEL:*:*)
1332+
NSR-*:NONSTOP_KERNEL:*:*)
13451333
echo nsr-tandem-nsk${UNAME_RELEASE}
13461334
exit ;;
1347-
NSX-?:NONSTOP_KERNEL:*:*)
1335+
NSX-*:NONSTOP_KERNEL:*:*)
13481336
echo nsx-tandem-nsk${UNAME_RELEASE}
13491337
exit ;;
13501338
*:NonStop-UX:*:*)
@@ -1418,16 +1406,28 @@ EOF
14181406
exit ;;
14191407
esac
14201408

1409+
echo "$0: unable to guess system type" >&2
1410+
1411+
case "${UNAME_MACHINE}:${UNAME_SYSTEM}" in
1412+
mips:Linux | mips64:Linux)
1413+
# If we got here on MIPS GNU/Linux, output extra information.
1414+
cat >&2 <<EOF
1415+
1416+
NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1417+
the system type. Please install a C compiler and try again.
1418+
EOF
1419+
;;
1420+
esac
1421+
14211422
cat >&2 <<EOF
1422-
$0: unable to guess system type
14231423
14241424
This script (version $timestamp), has failed to recognize the
1425-
operating system you are using. If your script is old, overwrite
1426-
config.guess and config.sub with the latest versions from:
1425+
operating system you are using. If your script is old, overwrite *all*
1426+
copies of config.guess and config.sub with the latest versions from:
14271427
1428-
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1428+
https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
14291429
and
1430-
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1430+
https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
14311431
14321432
If $0 has already been updated, send the following data and any
14331433
information you think might be pertinent to [email protected] to
@@ -1459,7 +1459,7 @@ EOF
14591459
exit 1
14601460

14611461
# Local variables:
1462-
# eval: (add-hook 'write-file-hooks 'time-stamp)
1462+
# eval: (add-hook 'write-file-functions 'time-stamp)
14631463
# time-stamp-start: "timestamp='"
14641464
# time-stamp-format: "%:y-%02m-%02d"
14651465
# time-stamp-end: "'"

0 commit comments

Comments
 (0)