diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-06-11 17:51:56 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-06-11 17:51:56 +0000 |
commit | 9e36416278c7943ae237b89ef05d20bda0fef68f (patch) | |
tree | c8774e8ef092b127eae7aa6a6bf41b2efa385e06 /gdb/config | |
parent | 0d62e5e8077eecf77e9b7b5dc0d2689d051a3ab3 (diff) | |
download | gdb-9e36416278c7943ae237b89ef05d20bda0fef68f.zip gdb-9e36416278c7943ae237b89ef05d20bda0fef68f.tar.gz gdb-9e36416278c7943ae237b89ef05d20bda0fef68f.tar.bz2 |
2002-06-11 Daniel Jacobowitz <drow@mvista.com>
* mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI)
(MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM)
(MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P)
(MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64)
(MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define
unconditionally.
(set_mipsfpu_single_command, set_mipsfpu_double_command)
(set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH).
(_initialize_mips_tdep): Remove dead code.
* config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM)
(MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove.
* config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM)
(MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove.
* config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM,
MIPS_LAST_FP_ARG_REGNUM): Remove.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-irix5.h | 12 | ||||
-rw-r--r-- | gdb/config/mips/tm-irix6.h | 12 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 14 |
3 files changed, 0 insertions, 38 deletions
diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h index 49b842f..1a88de0 100644 --- a/gdb/config/mips/tm-irix5.h +++ b/gdb/config/mips/tm-irix5.h @@ -48,18 +48,6 @@ : ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \ : builtin_type_int) -#undef MIPS_LAST_ARG_REGNUM -#define MIPS_LAST_ARG_REGNUM 11 /* N32 uses R4 through R11 for args */ - -/* MIPS_STACK_ARGSIZE -- how many bytes does a pushed function arg take - up on the stack? For the n32 ABI, eight bytes are reserved for each - register. Like MIPS_SAVED_REGSIZE but different. */ -#define MIPS_DEFAULT_STACK_ARGSIZE 8 - -/* N32 does not reserve home space for registers used to carry - parameters. */ -#define MIPS_REGS_HAVE_HOME_P 0 - /* Force N32 ABI as the default. */ #define MIPS_DEFAULT_ABI MIPS_ABI_N32 diff --git a/gdb/config/mips/tm-irix6.h b/gdb/config/mips/tm-irix6.h index 2d90b2e..70b5f6f 100644 --- a/gdb/config/mips/tm-irix6.h +++ b/gdb/config/mips/tm-irix6.h @@ -95,18 +95,6 @@ : ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \ : builtin_type_int) -#undef MIPS_LAST_ARG_REGNUM -#define MIPS_LAST_ARG_REGNUM 11 /* N32 uses R4 through R11 for args */ - -/* MIPS_STACK_ARGSIZE -- how many bytes does a pushed function arg take - up on the stack? For the n32 ABI, eight bytes are reserved for each - register. Like MIPS_SAVED_REGSIZE but different. */ -#define MIPS_DEFAULT_STACK_ARGSIZE 8 - -/* N32 does not reserve home space for registers used to carry - parameters. */ -#define MIPS_REGS_HAVE_HOME_P 0 - /* Force N32 ABI as the default. */ #define MIPS_DEFAULT_ABI MIPS_ABI_N32 diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 8403ef8..3dada3b 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -38,10 +38,6 @@ struct value; #include "coff/sym.h" /* Needed for PDR below. */ #include "coff/symconst.h" -#if !defined (MIPS_EABI) -#define MIPS_EABI 0 -#endif - /* PC should be masked to remove possible MIPS16 flag */ #if !defined (GDB_TARGET_MASK_DISAS_PC) #define GDB_TARGET_MASK_DISAS_PC(addr) UNMAKE_MIPS16_ADDR(addr) @@ -130,11 +126,6 @@ extern char *mips_register_name (int regnr); #define ZERO_REGNUM 0 /* read-only register, always 0 */ #define V0_REGNUM 2 /* Function integer return value */ #define A0_REGNUM 4 /* Loc of first arg during a subr call */ -#if MIPS_EABI -#define MIPS_LAST_ARG_REGNUM 11 /* EABI uses R4 through R11 for args */ -#else -#define MIPS_LAST_ARG_REGNUM 7 /* old ABI uses R4 through R7 for args */ -#endif #define T9_REGNUM 25 /* Contains address of callee in PIC */ #define SP_REGNUM 29 /* Contains address of top of stack */ #define RA_REGNUM 31 /* Contains return address value */ @@ -146,11 +137,6 @@ extern char *mips_register_name (int regnr); #define PC_REGNUM 37 /* Contains program counter */ #define FP0_REGNUM 38 /* Floating point register 0 (single float) */ #define FPA0_REGNUM (FP0_REGNUM+12) /* First float argument register */ -#if MIPS_EABI /* EABI uses F12 through F19 for args */ -#define MIPS_LAST_FP_ARG_REGNUM (FP0_REGNUM+19) -#else /* old ABI uses F12 through F15 for args */ -#define MIPS_LAST_FP_ARG_REGNUM (FP0_REGNUM+15) -#endif #define FCRCS_REGNUM 70 /* FP control/status */ #define FCRIR_REGNUM 71 /* FP implementation/revision */ #define FP_REGNUM 72 /* Pseudo register that contains true address of executing stack frame */ |