ce426f
# commit 8f9ebb08af1368962d9f24c4cfacb55cf8eee560
ce426f
# Author: Alan Modra <amodra@gmail.com>
ce426f
# Date:   Thu Oct 3 14:03:03 2013 +0930
ce426f
# 
ce426f
#     PowerPC LE configury
ce426f
#     http://sourceware.org/ml/libc-alpha/2013-08/msg00096.html
ce426f
#     
ce426f
#     This adds the basic configury bits for powerpc64le and powerpcle.
ce426f
#     
ce426f
#         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
ce426f
#         * configure: Regenerate.
ce426f
#         * nptl/shlib-versions: Powerpc*le starts at 2.18.
ce426f
#         * shlib-versions: Likewise.
ce426f
# 
ce426f
# commit 0ff8246327401ae8779e2697d5c7348611cdbf8a
ce426f
# Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
ce426f
# Date:   Tue Feb 4 09:49:08 2014 -0200
ce426f
# 
ce426f
#     PowerPC: Change powerpc64le start ABI to 2.17.
ce426f
# 
ce426f
diff -urN glibc-2.17-c758a686/configure glibc-2.17-c758a686/configure
ce426f
--- glibc-2.17-c758a686/configure	2014-05-26 19:52:31.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/configure	2014-05-26 19:54:13.000000000 -0500
ce426f
@@ -4195,8 +4195,8 @@
ce426f
 # base_machine, we don't change it.
ce426f
 test -n "$base_machine" || case "$machine" in
ce426f
 i[34567]86)	base_machine=i386 machine=i386/$machine ;;
ce426f
-powerpc)	base_machine=powerpc machine=powerpc/powerpc32 ;;
ce426f
-powerpc64)	base_machine=powerpc machine=powerpc/powerpc64 ;;
ce426f
+powerpc64*)	base_machine=powerpc machine=powerpc/powerpc64 ;;
ce426f
+powerpc*)	base_machine=powerpc machine=powerpc/powerpc32 ;;
ce426f
 s390)           base_machine=s390 machine=s390/s390-32 ;;
ce426f
 s390x)          base_machine=s390 machine=s390/s390-64 ;;
ce426f
 sh3*)		base_machine=sh machine=sh/sh3 ;;
ce426f
diff -urN glibc-2.17-c758a686/configure.in glibc-2.17-c758a686/configure.in
ce426f
--- glibc-2.17-c758a686/configure.in	2014-05-26 19:52:30.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/configure.in	2014-05-26 19:54:45.000000000 -0500
ce426f
@@ -549,8 +549,8 @@
ce426f
 # base_machine, we don't change it.
ce426f
 test -n "$base_machine" || case "$machine" in
ce426f
 i[34567]86)	base_machine=i386 machine=i386/$machine ;;
ce426f
-powerpc)	base_machine=powerpc machine=powerpc/powerpc32 ;;
ce426f
-powerpc64)	base_machine=powerpc machine=powerpc/powerpc64 ;;
ce426f
+powerpc64*)	base_machine=powerpc machine=powerpc/powerpc64 ;;
ce426f
+powerpc*)	base_machine=powerpc machine=powerpc/powerpc32 ;;
ce426f
 s390)           base_machine=s390 machine=s390/s390-32 ;;
ce426f
 s390x)          base_machine=s390 machine=s390/s390-64 ;;
ce426f
 sh3*)		base_machine=sh machine=sh/sh3 ;;
ce426f
diff -urN glibc-2.17-c758a686/nptl/shlib-versions glibc-2.17-c758a686/nptl/shlib-versions
ce426f
--- glibc-2.17-c758a686/nptl/shlib-versions	2014-05-26 19:52:31.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/nptl/shlib-versions	2014-05-26 19:53:31.000000000 -0500
ce426f
@@ -2,4 +2,5 @@
ce426f
 sh.*-.*-linux.*		libpthread=0		GLIBC_2.2
ce426f
 s390x-.*-linux.*	libpthread=0		GLIBC_2.2
ce426f
 powerpc64-.*-linux.*	libpthread=0		GLIBC_2.3
ce426f
+powerpc.*le-.*-linux.*	libpthread=0		GLIBC_2.17
ce426f
 .*-.*-linux.*		libpthread=0
ce426f
diff -urN glibc-2.17-c758a686/shlib-versions glibc-2.17-c758a686/shlib-versions
ce426f
--- glibc-2.17-c758a686/shlib-versions	2014-05-26 19:52:31.000000000 -0500
ce426f
+++ glibc-2.17-c758a686/shlib-versions	2014-05-26 19:53:31.000000000 -0500
ce426f
@@ -23,6 +23,7 @@
ce426f
 
ce426f
 s390x-.*-linux.*        DEFAULT			GLIBC_2.2
ce426f
 powerpc64-.*-linux.*	DEFAULT			GLIBC_2.3
ce426f
+powerpc.*le-.*-linux.*	DEFAULT			GLIBC_2.17
ce426f
 .*-.*-gnu-gnu.*		DEFAULT			GLIBC_2.2.6
ce426f
 
ce426f
 # Configuration		ABI			Identifier for ABI data files