From: Andrew Cagney Date: Tue, 20 Aug 2002 13:17:55 +0000 (+0000) Subject: 2002-08-20 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dfc3d9b2450c2b929c6749685d06534eaf3e1e5c;p=binutils-gdb.git 2002-08-20 Andrew Cagney * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 034254fcef8..3a4d722e655 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2002-08-20 Andrew Cagney + + * 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 * mips-tdep.c (mips_frame_chain): Check for call-dummy frames. diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h index 1a88de04b8d..2a1af87aa15 100644 --- a/gdb/config/mips/tm-irix5.h +++ b/gdb/config/mips/tm-irix5.h @@ -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 */ diff --git a/gdb/config/mips/tm-irix6.h b/gdb/config/mips/tm-irix6.h index 1230a9bd96a..ac710a465a6 100644 --- a/gdb/config/mips/tm-irix6.h +++ b/gdb/config/mips/tm-irix6.h @@ -88,10 +88,6 @@ ((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)) diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h index 68233c0a61b..60e9bee8782 100644 --- a/gdb/config/mips/tm-linux.h +++ b/gdb/config/mips/tm-linux.h @@ -40,11 +40,6 @@ #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); diff --git a/gdb/config/mips/tm-nbsd.h b/gdb/config/mips/tm-nbsd.h index fc7448665e1..143f3a43114 100644 --- a/gdb/config/mips/tm-nbsd.h +++ b/gdb/config/mips/tm-nbsd.h @@ -28,11 +28,6 @@ #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 diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 296dea672c4..8c18294f90f 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -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;