aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc/tm-ppcle-eabi.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-05-09 21:07:06 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-05-09 21:07:06 +0000
commitc7b44b0425dc1a4ee75abee5897de77a2b86648d (patch)
treebd51dbc49d168a6cbc4ac819ad1c143f78181fac /gdb/config/powerpc/tm-ppcle-eabi.h
parentb4ecce2f530b2ff83b121c100beff29da1032db2 (diff)
downloadgdb-c7b44b0425dc1a4ee75abee5897de77a2b86648d.zip
gdb-c7b44b0425dc1a4ee75abee5897de77a2b86648d.tar.gz
gdb-c7b44b0425dc1a4ee75abee5897de77a2b86648d.tar.bz2
Add little endian PowerPC support.
Diffstat (limited to 'gdb/config/powerpc/tm-ppcle-eabi.h')
-rw-r--r--gdb/config/powerpc/tm-ppcle-eabi.h30
1 files changed, 30 insertions, 0 deletions
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 */