From 2221f7d58e564c5f5e314124b29e6cf3d62e25a9 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 15 Jan 2019 10:26:10 +1100 Subject: [PATCH] Revert: 2019-01-03 Rainer Orth * config.guess (sun4*:SunOS:5.*:*): Return sparcv9-sun-solaris2.* with 64-bit compiler. (tadpole*:SunOS:5.*:*): Likewise. --- ChangeLog | 9 +++++++++ config.guess | 17 ++--------------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6654ea7..613f7bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2019-01-15 Ben Elliston + + Revert: + 2019-01-03 Rainer Orth + + * config.guess (sun4*:SunOS:5.*:*): Return sparcv9-sun-solaris2.* + with 64-bit compiler. + (tadpole*:SunOS:5.*:*): Likewise. + 2019-01-05 Ben Elliston * config.sub (shl): Recognise. diff --git a/config.guess b/config.guess index 8e2a58b..a81aa50 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2019 Free Software Foundation, Inc. -timestamp='2019-01-03' +timestamp='2019-01-15' # 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 @@ -385,20 +385,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - set_cc_for_build - SUN_ARCH=sparc - # If there is a compiler, see if it is configured for 64-bit objects. - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. - # This test works for both compilers. - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then - if (echo '#ifdef __sparcv9'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - SUN_ARCH=sparcv9 - fi - fi - echo "$SUN_ARCH"-sun-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux"$UNAME_RELEASE"