# HG changeset patch # User amurillo # Date 1397240601 25200 # Node ID 1f9fe77d878d4830dd4d1dd54db488dbf8136bb8 # Parent 90d12e97510691f8603bac65a0172e0dcc3aecb9# Parent da98aef02483734a3232dac99e548f33f80dda3f Merge diff -r 90d12e975106 -r 1f9fe77d878d common/autoconf/build-aux/config.guess --- a/common/autoconf/build-aux/config.guess Fri Apr 11 09:35:03 2014 +0100 +++ b/common/autoconf/build-aux/config.guess Fri Apr 11 11:23:21 2014 -0700 @@ -76,4 +76,14 @@ OUT=powerpc$KERNEL_BITMODE`echo $OUT | sed -e 's/[^-]*//'` fi +# Test and fix little endian PowerPC64. +# TODO: should be handled by autoconf-config.guess. +if [ "x$OUT" = x ]; then + if [ `uname -m` = ppc64le ]; then + if [ `uname -s` = Linux ]; then + OUT=powerpc64le-unknown-linux-gnu + fi + fi +fi + echo $OUT diff -r 90d12e975106 -r 1f9fe77d878d common/autoconf/generated-configure.sh --- a/common/autoconf/generated-configure.sh Fri Apr 11 09:35:03 2014 +0100 +++ b/common/autoconf/generated-configure.sh Fri Apr 11 11:23:21 2014 -0700 @@ -13518,6 +13518,12 @@ VAR_CPU_BITS=64 VAR_CPU_ENDIAN=big ;; + powerpc64le) + VAR_CPU=ppc64 + VAR_CPU_ARCH=ppc + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; s390) VAR_CPU=s390 VAR_CPU_ARCH=s390 @@ -13643,6 +13649,12 @@ VAR_CPU_BITS=64 VAR_CPU_ENDIAN=big ;; + powerpc64le) + VAR_CPU=ppc64 + VAR_CPU_ARCH=ppc + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; s390) VAR_CPU=s390 VAR_CPU_ARCH=s390 diff -r 90d12e975106 -r 1f9fe77d878d common/autoconf/platform.m4 --- a/common/autoconf/platform.m4 Fri Apr 11 09:35:03 2014 +0100 +++ b/common/autoconf/platform.m4 Fri Apr 11 11:23:21 2014 -0700 @@ -60,6 +60,12 @@ VAR_CPU_BITS=64 VAR_CPU_ENDIAN=big ;; + powerpc64le) + VAR_CPU=ppc64 + VAR_CPU_ARCH=ppc + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; s390) VAR_CPU=s390 VAR_CPU_ARCH=s390