Blame SOURCES/gdb-rhbz1125820-ppc64le-enablement-06of37.patch

01917d
commit bcbec14ee2e2d060dec534fe9a608f64d1bfa632
01917d
Author: Alan Modra <amodra@gmail.com>
01917d
Date:   Thu Aug 22 01:01:32 2013 +0000
01917d
01917d
    	* configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
01917d
    	* configure.tgt: Likewise as targets.
01917d
01917d
Index: gdb-7.6.1/gdb/configure.host
01917d
===================================================================
01917d
--- gdb-7.6.1.orig/gdb/configure.host
01917d
+++ gdb-7.6.1/gdb/configure.host
01917d
@@ -129,18 +129,18 @@ mips64*-*-openbsd*)	gdb_host=obsd64 ;;
01917d
 powerpc-*-aix* | rs6000-*-*)
01917d
 			gdb_host=aix ;;
01917d
 powerpc*-*-freebsd*)	gdb_host=fbsd ;;
01917d
-powerpc-*-linux*)	gdb_host=linux ;;
01917d
 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
01917d
 			gdb_host=nbsd ;;
01917d
 powerpc-*-openbsd*)	gdb_host=obsd ;;
01917d
 
01917d
-powerpc64-*-linux*)     gdb_host=ppc64-linux
01917d
+powerpc64*-*-linux*)	gdb_host=ppc64-linux
01917d
                         # Support 'pseudo-native' debugging on the Cell BE
01917d
                         if test "${target_cpu}" = "spu"; then
01917d
 				gdb_host=spu-linux
01917d
 				gdb_native=yes
01917d
                         fi
01917d
 			;;
01917d
+powerpc*-*-linux*)	gdb_host=linux ;;
01917d
 
01917d
 s390*-*-*)		gdb_host=s390 ;;
01917d
 
01917d
Index: gdb-7.6.1/gdb/configure.tgt
01917d
===================================================================
01917d
--- gdb-7.6.1.orig/gdb/configure.tgt
01917d
+++ gdb-7.6.1/gdb/configure.tgt
01917d
@@ -422,7 +422,7 @@ powerpc-*-aix* | rs6000-*-*)
01917d
 			ppc-sysv-tdep.o solib-svr4.o \
01917d
 			ravenscar-thread.o ppc-ravenscar-thread.o"
01917d
 	;;
01917d
-powerpc-*-linux* | powerpc64-*-linux*)
01917d
+powerpc*-*-linux*)
01917d
 	# Target: PowerPC running Linux
01917d
 	gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
01917d
 			ppc64-tdep.o solib-svr4.o solib-spu.o \