2002-08-20 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 20 Aug 2002 13:17:55 +0000 (13:17 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 20 Aug 2002 13:17:55 +0000 (13:17 +0000)
* config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete.
* mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.

gdb/ChangeLog
gdb/config/mips/tm-irix5.h
gdb/config/mips/tm-irix6.h
gdb/config/mips/tm-linux.h
gdb/config/mips/tm-nbsd.h
gdb/mips-tdep.c

index 034254f..3a4d722 100644 (file)
@@ -1,3 +1,11 @@
+2002-08-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete.
+       * config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete.
+       * config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete.
+       * config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete.
+       * mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.
+
 2002-08-14  Michael Snyder  <msnyder@redhat.com>
 
        * mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
index 1a88de0..2a1af87 100644 (file)
@@ -48,9 +48,6 @@
         : ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \
         : builtin_type_int)
 
-/* Force N32 ABI as the default. */
-#define MIPS_DEFAULT_ABI MIPS_ABI_N32
-
 #endif /* N32 */
 
 
index 1230a9b..ac710a4 100644 (file)
       ((N) - FP0_REGNUM) * sizeof(double) : \
       32 * sizeof(double) + ((N) - 32) * MIPS_REGSIZE)
 
-/* Force N32 ABI as the default. */
-#define MIPS_DEFAULT_ABI MIPS_ABI_N32
-
-
 /* The signal handler trampoline is called _sigtramp.  */
 #undef IN_SIGTRAMP
 #define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigtramp", name))
index 68233c0..60e9bee 100644 (file)
 
 #include "config/tm-linux.h"
 
-/* There's an E_MIPS_ABI_O32 flag in e_flags, but we don't use it - in
-   fact, using it may violate the o32 ABI.  */
-
-#define MIPS_DEFAULT_ABI MIPS_ABI_O32
-
 /* Use target_specific function to define link map offsets.  */
 
 extern struct link_map_offsets *mips_linux_svr4_fetch_link_map_offsets (void);
index fc74486..143f3a4 100644 (file)
 #include "mips/tm-mips.h"
 #include "solib.h"
 
-/* There's an E_MIPS_ABI_O32 flag in e_flags, but we don't use it - in
-   fact, using it may violate the o32 ABI.  */
-
-#define MIPS_DEFAULT_ABI MIPS_ABI_O32
-
 /* We don't want to inherit tm-mips.h's shared library trampoline code.  */
 #undef IN_SOLIB_CALL_TRAMPOLINE
 #undef IN_SOLIB_RETURN_TRAMPOLINE
index 296dea6..8c18294 100644 (file)
@@ -5509,11 +5509,6 @@ mips_gdbarch_init (struct gdbarch_info info,
        }
     }
 
-#ifdef MIPS_DEFAULT_ABI
-  if (mips_abi == MIPS_ABI_UNKNOWN)
-    mips_abi = MIPS_DEFAULT_ABI;
-#endif
-
   if (mips_abi == MIPS_ABI_UNKNOWN)
     mips_abi = MIPS_ABI_O32;