diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-05-09 21:07:06 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-05-09 21:07:06 +0000 |
commit | c7b44b0425dc1a4ee75abee5897de77a2b86648d (patch) | |
tree | bd51dbc49d168a6cbc4ac819ad1c143f78181fac /gdb/config/powerpc | |
parent | b4ecce2f530b2ff83b121c100beff29da1032db2 (diff) | |
download | gdb-c7b44b0425dc1a4ee75abee5897de77a2b86648d.zip gdb-c7b44b0425dc1a4ee75abee5897de77a2b86648d.tar.gz gdb-c7b44b0425dc1a4ee75abee5897de77a2b86648d.tar.bz2 |
Add little endian PowerPC support.
Diffstat (limited to 'gdb/config/powerpc')
-rw-r--r-- | gdb/config/powerpc/.Sanitize | 2 | ||||
-rw-r--r-- | gdb/config/powerpc/ppcle-eabi.mt | 3 | ||||
-rw-r--r-- | gdb/config/powerpc/tm-ppcle-eabi.h | 30 |
3 files changed, 35 insertions, 0 deletions
diff --git a/gdb/config/powerpc/.Sanitize b/gdb/config/powerpc/.Sanitize index cec908a..d4c3b81 100644 --- a/gdb/config/powerpc/.Sanitize +++ b/gdb/config/powerpc/.Sanitize @@ -25,7 +25,9 @@ gdbserve.mt ppc-nw.mt tm-ppc-nw.h tm-ppc-eabi.h +tm-ppcle-eabi.h ppc-eabi.mt +ppcle-eabi.mt Things-to-lose: diff --git a/gdb/config/powerpc/ppcle-eabi.mt b/gdb/config/powerpc/ppcle-eabi.mt new file mode 100644 index 0000000..27be44f --- /dev/null +++ b/gdb/config/powerpc/ppcle-eabi.mt @@ -0,0 +1,3 @@ +# Target: PowerPC running eabi in little endian mode +TDEPFILES= rs6000-tdep.o +TM_FILE= tm-ppcle-eabi.h diff --git a/gdb/config/powerpc/tm-ppcle-eabi.h b/gdb/config/powerpc/tm-ppcle-eabi.h new file mode 100644 index 0000000..0ad4bdc --- /dev/null +++ b/gdb/config/powerpc/tm-ppcle-eabi.h @@ -0,0 +1,30 @@ +/* Macro definitions for Power PC running embedded ABI + in little endian mode. + Copyright 1995 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef TM_PPCLE_EABI_H +#define TM_PPCLE_EABI_H + +/* Use normal ppc-eabi definitions */ +#include "powerpc/tm-ppc-eabi.h" + +#undef TARGET_BYTE_ORDER +#define TARGET_BYTE_ORDER LITTLE_ENDIAN + +#endif /* TM_PPCLE_EABI_H */ |