From: Andrew Cagney Date: Tue, 6 Jun 2000 07:00:45 +0000 (+0000) Subject: Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69c49926bb843a21872cf79962d9bf4866b101ff;p=binutils-gdb.git Mips is always TARGET_BYTE_ORDER_SELECTABLE_P 1. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44eafbb687e..e95019e6b1d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +Tue Jun 6 16:46:37 2000 Andrew Cagney + + * config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h, + config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h, + config/mips/tm-vr4300el.h, config/mips/tm-vr4100.h, + config/mips/tm-vr4300.h, config/mips/tm-tx39l.h, + config/mips/tm-tx39.h, config/mips/tm-embedl64.h, + config/mips/tm-embedl.h, config/mips/tm-embed64.h, + config/mips/tm-embed.h: Delete TARGET_BYTE_ORDER_SELECTABLE_P. + + * tm-mips.h (TARGET_BYTE_ORDER_SELECTABLE_P): Define as 1. + Tue Jun 6 16:21:14 2000 Andrew Cagney * gdbarch.sh (generic_register_convertible_not, diff --git a/gdb/config/mips/tm-embed.h b/gdb/config/mips/tm-embed.h index faaffee294d..fc67206cda1 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 d1467d0ce0f..006fb0b84e5 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 416a7e30510..5b3221d8467 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 77e368de90f..a33b13c46f1 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 30d00aef729..b711a6c84e6 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 e212a51d31b..520db7b6b5f 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 5488830b5d7..30ba78ad0ba 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 e28e28ed07c..9c876192d0b 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 3f85dd05784..b8dc55064a9 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 d45ab84c9bf..953b0758d0d 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 b8f99df8137..2878227cd98 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 aaa2a249a6c..c9eedc37131 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 a00a6a804c5..1bb91ba2560 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 78c3d5862b3..a93e72880e8 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"