From bcbec14ee2e2d060dec534fe9a608f64d1bfa632 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 22 Aug 2013 01:01:32 +0000 Subject: [PATCH] * configure.host: Support powerpc64le-linux and powerpcle-linux hosts. * configure.tgt: Likewise as targets. --- gdb/ChangeLog | 5 +++++ gdb/configure.host | 4 ++-- gdb/configure.tgt | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ed39f8fcb4..8caad2f5a16 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-08-22 Alan Modra + + * configure.host: Support powerpc64le-linux and powerpcle-linux hosts. + * configure.tgt: Likewise as targets. + 2013-08-20 Doug Evans * buildsym.c (subfile_stack): Move here from buildsym.h. diff --git a/gdb/configure.host b/gdb/configure.host index 6633b92d6e5..ed57b33bd99 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -129,18 +129,18 @@ mips64*-*-openbsd*) gdb_host=obsd64 ;; powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*) gdb_host=aix ;; powerpc*-*-freebsd*) gdb_host=fbsd ;; -powerpc-*-linux*) gdb_host=linux ;; powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) gdb_host=nbsd ;; powerpc-*-openbsd*) gdb_host=obsd ;; -powerpc64-*-linux*) gdb_host=ppc64-linux +powerpc64*-*-linux*) gdb_host=ppc64-linux # Support 'pseudo-native' debugging on the Cell BE if test "${target_cpu}" = "spu"; then gdb_host=spu-linux gdb_native=yes fi ;; +powerpc*-*-linux*) gdb_host=linux ;; s390*-*-*) gdb_host=s390 ;; diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 653ba2b378b..0ac4e331e85 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -438,7 +438,7 @@ powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*) ppc-sysv-tdep.o solib-aix.o \ ravenscar-thread.o ppc-ravenscar-thread.o" ;; -powerpc-*-linux* | powerpc64-*-linux*) +powerpc*-*-linux*) # Target: PowerPC running Linux gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \ ppc64-tdep.o solib-svr4.o solib-spu.o \ -- 2.30.2