summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-07 07:51:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-07 07:51:39 -0700
commit5960642af99c6dc84b28e1bc69a617099b9dee97 (patch)
tree3f41b8e26321c52632403af34fcd528297ce733e /config.guess
parentRemove CpuFMA4 support from CPU_ZNVER1_FLAGS. (diff)
downloadbinutils-gdb-5960642af99c6dc84b28e1bc69a617099b9dee97.tar.gz
binutils-gdb-5960642af99c6dc84b28e1bc69a617099b9dee97.tar.bz2
binutils-gdb-5960642af99c6dc84b28e1bc69a617099b9dee97.zip
Sync config.sub and config.guess with GCC
Sync with GCC 2015-07-28 Ben Elliston <bje@gnu.org> * config.sub, config.guess: Import from upstream.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.guess b/config.guess
index f7eb141e75a..fddac4281a6 100755
--- a/config.guess
+++ b/config.guess
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2015 Free Software Foundation, Inc.
-timestamp='2015-03-04'
+timestamp='2015-07-03'
# 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
@@ -221,7 +221,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
release='-gnu'
;;
*)
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
;;
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
@@ -1038,7 +1038,7 @@ EOF
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
exit ;;
x86_64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
exit ;;
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}