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

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