* config.guess (*:NetBSD:*:*): Always use "netbsdelf" for earm.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Nick Hudson 2016-05-13 21:57:53 +10:00 committed by Ben Elliston
parent 54976ac106
commit 81063d2a4a
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2016-05-13 Nick Hudson <skrll@netbsd.org>
* config.guess (*:NetBSD:*:*): Always use "netbsdelf" for earm.
2016-05-10 Jakub Sejdak <jakub.sejdak@phoesys.com> 2016-05-10 Jakub Sejdak <jakub.sejdak@phoesys.com>
* config.sub (-phoenix*): New. * config.sub (-phoenix*): New.

9
config.guess vendored
View File

@ -2,7 +2,7 @@
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2016 Free Software Foundation, Inc. # Copyright 1992-2016 Free Software Foundation, Inc.
timestamp='2016-04-02' timestamp='2016-05-13'
# This file is free software; you can redistribute it and/or modify it # 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 # under the terms of the GNU General Public License as published by
@ -186,9 +186,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*) machine=${UNAME_MACHINE_ARCH}-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac esac
# The Operating System including object format, if it has switched # The Operating System including object format, if it has switched
# to ELF recently, or will in the future. # to ELF recently (or will in the future) and ABI.
case "${UNAME_MACHINE_ARCH}" in case "${UNAME_MACHINE_ARCH}" in
arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) earm*)
os=netbsdelf
;;
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ELF__ | grep -q __ELF__