diff options
author | Ben Elliston <bje@gnu.org> | 2007-12-05 03:27:21 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2007-12-05 03:27:21 +0000 |
commit | 7e95d4b86dbfcb995ecba4353b3b6130f53acc42 (patch) | |
tree | 3f54df54c869e437b2dc4fa5dc571b971f40645b /config.guess | |
parent | 86a1bb43f57dee2ed5d3273624475852bb0bf8dd (diff) | |
download | newlib-7e95d4b86dbfcb995ecba4353b3b6130f53acc42.zip newlib-7e95d4b86dbfcb995ecba4353b3b6130f53acc42.tar.gz newlib-7e95d4b86dbfcb995ecba4353b3b6130f53acc42.tar.bz2 |
* config.sub, config.guess: Update from upstream sources.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/config.guess b/config.guess index 278f9e9..bb157d5 100755 --- a/config.guess +++ b/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2007-07-22' +timestamp='2007-12-05' # 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 @@ -833,7 +833,14 @@ EOF echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -954,8 +961,8 @@ EOF x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; - xtensa:Linux:*:*) - echo xtensa-unknown-linux-gnu + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so |