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

7ab123
commit 49926cd0c84887c581110fb2a471b21ff19048d2
7ab123
Author: Alan Modra <amodra@gmail.com>
7ab123
Date:   Thu Apr 25 13:22:52 2013 +0000
7ab123
7ab123
    bfd/
7ab123
    	* config.bfd: Add powerpc64le-linux.
7ab123
    gas/
7ab123
    	* configure.in: Allow little-endian linux.
7ab123
    	* configure: Regenerate.
7ab123
    gold/
7ab123
    	* configure.tgt: Add powerpcle and powerpc64le.
7ab123
    ld/
7ab123
    	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
7ab123
    	(eelf32lppclinux.c): New rule.
7ab123
    	* Makefile.in: Regenerate.
7ab123
    	* configure.tgt: Merge powerpc-linux and other powerpc-elf targets
7ab123
    	with corresponding little-endian targets.
7ab123
    	* emulparams/elf32lppc.sh: Update comment.
7ab123
    	* emulparams/elf32lppclinux.sh: New.
7ab123
7ab123
Index: gdb-7.6.1/bfd/config.bfd
7ab123
===================================================================
7ab123
--- gdb-7.6.1.orig/bfd/config.bfd
7ab123
+++ gdb-7.6.1/bfd/config.bfd
7ab123
@@ -1242,7 +1242,8 @@ case "${targ}" in
7ab123
     targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
7ab123
     want64=true
7ab123
     ;;
7ab123
-  powerpc64le-*-elf* | powerpcle-*-elf64*)
7ab123
+  powerpc64le-*-elf* | powerpcle-*-elf64* | powerpc64le-*-linux* | \
7ab123
+  powerpc64le-*-*bsd*)
7ab123
     targ_defvec=bfd_elf64_powerpcle_vec
7ab123
     targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
7ab123
     want64=true