mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
* config.guess (x86_64:Linux:*:*): Detect x32 ABI.
Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
parent
365ea7edee
commit
bd9626458c
@ -1,3 +1,7 @@
|
||||
2018-02-24 James Clarke <jrtc27@jrtc27.com>
|
||||
|
||||
* config.guess (x86_64:Linux:*:*): Detect x32 ABI.
|
||||
|
||||
2018-02-22 Ben Elliston <bje@gnu.org>
|
||||
|
||||
Reported by Nelson H. F. Beebe:
|
||||
|
8
config.guess
vendored
8
config.guess
vendored
@ -2,7 +2,7 @@
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright 1992-2018 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2018-01-26'
|
||||
timestamp='2018-02-24'
|
||||
|
||||
# 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
|
||||
@ -1046,7 +1046,11 @@ EOF
|
||||
echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
|
||||
exit ;;
|
||||
x86_64:Linux:*:*)
|
||||
echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
|
||||
if objdump -f /bin/sh | grep -q elf32-x86-64; then
|
||||
echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
|
||||
else
|
||||
echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
|
||||
fi
|
||||
exit ;;
|
||||
xtensa*:Linux:*:*)
|
||||
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
|
||||
|
Loading…
x
Reference in New Issue
Block a user