aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-08 04:00:56 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-08 04:00:56 +0000
commit1ba607adba3816e5352f639a27cffa20ee71813d (patch)
treef989fb450c87839938457515038372ca07f59acd /gdb/config/mips
parente28d556f6be67e728e296f83a55f6abaf4251a31 (diff)
downloadgdb-1ba607adba3816e5352f639a27cffa20ee71813d.zip
gdb-1ba607adba3816e5352f639a27cffa20ee71813d.tar.gz
gdb-1ba607adba3816e5352f639a27cffa20ee71813d.tar.bz2
Use config.bfd to determine the default architecture and byte order.
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/tm-bigmips.h4
-rw-r--r--gdb/config/mips/tm-bigmips64.h4
-rw-r--r--gdb/config/mips/tm-mips.h4
3 files changed, 2 insertions, 10 deletions
diff --git a/gdb/config/mips/tm-bigmips.h b/gdb/config/mips/tm-bigmips.h
index 7035b98..10c80e9 100644
--- a/gdb/config/mips/tm-bigmips.h
+++ b/gdb/config/mips/tm-bigmips.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1990 Free Software Foundation, Inc.
+/* Copyright (C) 1990, 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_DEFAULT BIG_ENDIAN
-
#include "mips/tm-mips.h"
diff --git a/gdb/config/mips/tm-bigmips64.h b/gdb/config/mips/tm-bigmips64.h
index a456d20..9f171ee 100644
--- a/gdb/config/mips/tm-bigmips64.h
+++ b/gdb/config/mips/tm-bigmips64.h
@@ -1,5 +1,5 @@
/* Target machine parameters for MIPS r4000
- Copyright 1994 Free Software Foundation, Inc.
+ Copyright 1994, 2000 Free Software Foundation, Inc.
Contributed by Ian Lance Taylor (ian@cygnus.com)
This file is part of GDB.
@@ -19,6 +19,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define TARGET_BYTE_ORDER_DEFAULT BIG_ENDIAN
-
#include "mips/tm-mips64.h"
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index b711a6c..4aa77f3 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -33,10 +33,6 @@ struct value;
#include "coff/sym.h" /* Needed for PDR below. */
#include "coff/symconst.h"
-#if !defined (TARGET_BYTE_ORDER_DEFAULT)
-#define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN
-#endif
-
#if !defined (GDB_TARGET_IS_MIPS64)
#define GDB_TARGET_IS_MIPS64 0
#endif