aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-06 07:00:45 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-06 07:00:45 +0000
commit69c49926bb843a21872cf79962d9bf4866b101ff (patch)
treeb1cace72c2fefa79d6ad3e17057bf36f303940aa /gdb/config
parent193e3b1a003032346e7eea1f7301de2809d6013d (diff)
downloadgdb-69c49926bb843a21872cf79962d9bf4866b101ff.zip
gdb-69c49926bb843a21872cf79962d9bf4866b101ff.tar.gz
gdb-69c49926bb843a21872cf79962d9bf4866b101ff.tar.bz2
Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/mips/tm-embed.h4
-rw-r--r--gdb/config/mips/tm-embed64.h4
-rw-r--r--gdb/config/mips/tm-embedl.h4
-rw-r--r--gdb/config/mips/tm-embedl64.h4
-rw-r--r--gdb/config/mips/tm-mips.h6
-rw-r--r--gdb/config/mips/tm-tx39.h3
-rw-r--r--gdb/config/mips/tm-tx39l.h3
-rw-r--r--gdb/config/mips/tm-vr4100.h1
-rw-r--r--gdb/config/mips/tm-vr4300.h2
-rw-r--r--gdb/config/mips/tm-vr4300el.h2
-rw-r--r--gdb/config/mips/tm-vr4xxx.h1
-rw-r--r--gdb/config/mips/tm-vr4xxxel.h1
-rw-r--r--gdb/config/mips/tm-vr5000.h1
-rw-r--r--gdb/config/mips/tm-vr5000el.h1
14 files changed, 12 insertions, 25 deletions
diff --git a/gdb/config/mips/tm-embed.h b/gdb/config/mips/tm-embed.h
index faaffee..fc67206 100644
--- a/gdb/config/mips/tm-embed.h
+++ b/gdb/config/mips/tm-embed.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,8 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-
#include "mips/tm-bigmips.h"
#undef DEFAULT_MIPS_TYPE
diff --git a/gdb/config/mips/tm-embed64.h b/gdb/config/mips/tm-embed64.h
index d1467d0..006fb0b 100644
--- a/gdb/config/mips/tm-embed64.h
+++ b/gdb/config/mips/tm-embed64.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,6 +17,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-
#include "mips/tm-bigmips64.h"
diff --git a/gdb/config/mips/tm-embedl.h b/gdb/config/mips/tm-embedl.h
index 416a7e3..5b3221d 100644
--- a/gdb/config/mips/tm-embedl.h
+++ b/gdb/config/mips/tm-embedl.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,6 +17,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-
#include "mips/tm-mips.h"
diff --git a/gdb/config/mips/tm-embedl64.h b/gdb/config/mips/tm-embedl64.h
index 77e368d..a33b13c 100644
--- a/gdb/config/mips/tm-embedl64.h
+++ b/gdb/config/mips/tm-embedl64.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,6 +17,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-
#include "mips/tm-mips64.h"
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 30d00ae..b711a6c 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -588,3 +588,9 @@ extern void mips_set_processor_type_command (char *, int);
/* MIPS sign extends addresses */
#define POINTER_TO_ADDRESS(TYPE,BUF) (signed_pointer_to_address (TYPE, BUF))
#define ADDRESS_TO_POINTER(TYPE,BUF,ADDR) (address_to_signed_pointer (TYPE, BUF, ADDR))
+
+
+/* MIPS is always bi-endian */
+#if !GDB_MULTI_ARCH
+#define TARGET_BYTE_ORDER_SELECTABLE_P 1
+#endif
diff --git a/gdb/config/mips/tm-tx39.h b/gdb/config/mips/tm-tx39.h
index e212a51..520db7b 100644
--- a/gdb/config/mips/tm-tx39.h
+++ b/gdb/config/mips/tm-tx39.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
#define MIPS_EABI 1
#define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE
diff --git a/gdb/config/mips/tm-tx39l.h b/gdb/config/mips/tm-tx39l.h
index 5488830..30ba78a 100644
--- a/gdb/config/mips/tm-tx39l.h
+++ b/gdb/config/mips/tm-tx39l.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
#define MIPS_EABI 1
#define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE
diff --git a/gdb/config/mips/tm-vr4100.h b/gdb/config/mips/tm-vr4100.h
index e28e28e..9c87619 100644
--- a/gdb/config/mips/tm-vr4100.h
+++ b/gdb/config/mips/tm-vr4100.h
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
#define MIPS_EABI 1
#define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE
#define TARGET_PTR_BIT 64
diff --git a/gdb/config/mips/tm-vr4300.h b/gdb/config/mips/tm-vr4300.h
index 3f85dd0..b8dc550 100644
--- a/gdb/config/mips/tm-vr4300.h
+++ b/gdb/config/mips/tm-vr4300.h
@@ -17,6 +17,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-
#include "mips/tm-bigmips64.h"
diff --git a/gdb/config/mips/tm-vr4300el.h b/gdb/config/mips/tm-vr4300el.h
index d45ab84..953b075 100644
--- a/gdb/config/mips/tm-vr4300el.h
+++ b/gdb/config/mips/tm-vr4300el.h
@@ -17,6 +17,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-
#include "mips/tm-mips64.h"
diff --git a/gdb/config/mips/tm-vr4xxx.h b/gdb/config/mips/tm-vr4xxx.h
index b8f99df..2878227 100644
--- a/gdb/config/mips/tm-vr4xxx.h
+++ b/gdb/config/mips/tm-vr4xxx.h
@@ -19,6 +19,5 @@
#define GDB_MULTI_ARCH 1
#define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_DOUBLE
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
#include "mips/tm-bigmips64.h"
diff --git a/gdb/config/mips/tm-vr4xxxel.h b/gdb/config/mips/tm-vr4xxxel.h
index aaa2a24..c9eedc3 100644
--- a/gdb/config/mips/tm-vr4xxxel.h
+++ b/gdb/config/mips/tm-vr4xxxel.h
@@ -19,6 +19,5 @@
#define GDB_MULTI_ARCH 1
#define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_DOUBLE
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
#include "mips/tm-mips64.h"
diff --git a/gdb/config/mips/tm-vr5000.h b/gdb/config/mips/tm-vr5000.h
index a00a6a8..1bb91ba 100644
--- a/gdb/config/mips/tm-vr5000.h
+++ b/gdb/config/mips/tm-vr5000.h
@@ -18,7 +18,6 @@
Boston, MA 02111-1307, USA. */
#define GDB_MULTI_ARCH 1
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
#define MIPS_EABI 1
#include "mips/tm-bigmips64.h"
diff --git a/gdb/config/mips/tm-vr5000el.h b/gdb/config/mips/tm-vr5000el.h
index 78c3d58..a93e728 100644
--- a/gdb/config/mips/tm-vr5000el.h
+++ b/gdb/config/mips/tm-vr5000el.h
@@ -18,7 +18,6 @@
Boston, MA 02111-1307, USA. */
#define GDB_MULTI_ARCH 1
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
#define MIPS_EABI 1
#include "mips/tm-mips64.h"