diff options
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-irix5.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h index 0fd7a86..19b8dbe 100644 --- a/gdb/config/mips/tm-irix5.h +++ b/gdb/config/mips/tm-irix5.h @@ -18,6 +18,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* If we're being built for n32, enable multi-arch. */ +/* FIXME: cagney/2000-04-04: Testing the _MIPS_SIM_NABI32 and + _MIPS_SIM in a tm-*.h file is simply wrong! Those are + host-dependant macros (provided by /usr/include) and stop any + chance of the target being cross compiled */ +#if 0 && defined (_MIPS_SIM_NABI32) && _MIPS_SIM == _MIPS_SIM_NABI32 +/* FIXME: Don't enable multi-arch for IRIX/n32. The test + ``gdb.base/corefile.exp: up in corefile.exp'' fails. */ +#define GDB_MULTI_ARCH 1 +#endif + #include "mips/tm-irix3.h" /* FIXME: cagney/2000-04-04: Testing the _MIPS_SIM_NABI32 and @@ -59,6 +70,9 @@ parameters. */ #define MIPS_REGS_HAVE_HOME_P 0 +/* Force N32 ABI as the default. */ +#define MIPS_DEFAULT_ABI MIPS_ABI_N32 + #endif /* N32 */ |