]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add stub support for Linux on PowerPC
authorMichael Meissner <gnu@the-meissners.org>
Tue, 2 Jul 1996 19:09:59 +0000 (19:09 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Tue, 2 Jul 1996 19:09:59 +0000 (19:09 +0000)
gdb/ChangeLog
gdb/config/powerpc/xm-linux.h [new file with mode: 0644]
gdb/configure
gdb/configure.in

index 9b708c0dd096809a71f76b8f15af940038e914be..79aeb168d1b47ea03b54ea0b1186bd89c5471328 100644 (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>:
diff --git a/gdb/config/powerpc/xm-linux.h b/gdb/config/powerpc/xm-linux.h
new file mode 100644 (file)
index 0000000..41c8ba7
--- /dev/null
@@ -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
index 910e3d74b045f085e1479cfe24dbd603650bc43d..83a0d6aec3daeb7ac10f14ed495d5ea035fc95b3 100755 (executable)
@@ -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
index 44439ab868a7aa89f016d30e19cf63e374a762f2..620700ac2a33a11b1a17f8e842ffdd676f53968c 100644 (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