Add stub support for Linux on PowerPC

This commit is contained in:
Michael Meissner
1996-07-02 19:09:59 +00:00
parent 171f4664be
commit eafdda3d8d
4 changed files with 41 additions and 5 deletions

View File

@ -1,3 +1,12 @@
Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
PowerPC.
* configure.in (powerpc-*-linux): Add Linux, System V, and ELF
support.
* configure: Regenerate.
Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com>
From Raymond Jou <rjou@mexican.cygnus.com>:

View File

@ -0,0 +1,21 @@
/* Host definitions for a Sun 4, for GDB, the GNU debugger.
Copyright 1996
Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define HOST_BYTE_ORDER BIG_ENDIAN

9
gdb/configure vendored
View File

@ -3296,6 +3296,7 @@ ns32k-utek-sysv*) gdb_host=merlin ;;
powerpc-*-aix*) gdb_host=aix ;;
powerpcle-*-cygwin32) gdb_host=cygwin32 ;;
powerpcle-*-solaris*) gdb_host=solaris ;;
powerpc-*-linux*) gdb_host=linux ;;
pn-*-*) gdb_host=pn ;;
pyramid-*-*) gdb_host=pyramid ;;
@ -3507,12 +3508,14 @@ powerpc-*-aix4*) gdb_target=aix4 ;;
powerpc-*-aix*) gdb_target=aix ;;
powerpcle-*-cygwin32) gdb_target=cygwin32 ;;
powerpcle-*-solaris*) gdb_target=solaris ;;
powerpc-*-eabi*) if test x"$powerpc_sim" = x"yes"; then
powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf*)
if test x"$powerpc_sim" = x"yes"; then
gdb_target=ppc-sim
else
gdb_target=ppc-eabi
fi ;;
powerpcle-*-eabi*) if test x"$powerpc_sim" = x"yes"; then
powerpcle-*-eabi* | powerpcle-*-sysv* | powerpcle-*-elf*)
if test x"$powerpc_sim" = x"yes"; then
gdb_target=ppcle-sim
else
gdb_target=ppcle-eabi
@ -3535,7 +3538,7 @@ sparc-*-sunos4*) gdb_target=sun4os4 ;;
sparc-*-sunos5*) gdb_target=sun4sol2 ;;
sparc-*-vxworks*) gdb_target=vxsparc ;;
sparc-*-*) gdb_target=sun4os4 ;;
sparclet-*-*) gdb_target=sparclet ;;
sparclet-*-*) gdb_target=sparclet;;
sparclite*-*-*) gdb_target=sparclite ;;
# It's not clear what the right solution for "v8plus" systems is yet.
# For now, stick with sparc-sun-solaris2 since that's what config.guess

View File

@ -405,6 +405,7 @@ ns32k-utek-sysv*) gdb_host=merlin ;;
powerpc-*-aix*) gdb_host=aix ;;
powerpcle-*-cygwin32) gdb_host=cygwin32 ;;
powerpcle-*-solaris*) gdb_host=solaris ;;
powerpc-*-linux*) gdb_host=linux ;;
pn-*-*) gdb_host=pn ;;
pyramid-*-*) gdb_host=pyramid ;;
@ -616,12 +617,14 @@ powerpc-*-aix4*) gdb_target=aix4 ;;
powerpc-*-aix*) gdb_target=aix ;;
powerpcle-*-cygwin32) gdb_target=cygwin32 ;;
powerpcle-*-solaris*) gdb_target=solaris ;;
powerpc-*-eabi*) if test x"$powerpc_sim" = x"yes"; then
powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf*)
if test x"$powerpc_sim" = x"yes"; then
gdb_target=ppc-sim
else
gdb_target=ppc-eabi
fi ;;
powerpcle-*-eabi*) if test x"$powerpc_sim" = x"yes"; then
powerpcle-*-eabi* | powerpcle-*-sysv* | powerpcle-*-elf*)
if test x"$powerpc_sim" = x"yes"; then
gdb_target=ppcle-sim
else
gdb_target=ppcle-eabi