From 7f2e00db7b5b50383431ffee7a5545481879a629 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 5 Nov 1995 10:45:20 -0500 Subject: [PATCH] (MULTILIB_DEFAULTS): Define. From-SVN: r10551 --- gcc/config/mips/elf64.h | 6 ++++++ gcc/config/mips/iris6.h | 1 + gcc/config/mips/mips.h | 8 ++++++++ 3 files changed, 15 insertions(+) diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index 77343e84b58..ab5aee99a84 100644 --- a/gcc/config/mips/elf64.h +++ b/gcc/config/mips/elf64.h @@ -25,6 +25,12 @@ Boston, MA 02111-1307, USA. */ #define TARGET_DEFAULT MASK_FLOAT64|MASK_64BIT #define MIPS_ISA_DEFAULT 3 +#ifndef TARGET_ENDIAN_DEFAULT +#define MULTILIB_DEFAULTS { "EB", "mips3" } +#else +#define MULTILIB_DEFAULTS { "EL", "mips3" } +#endif + /* Until we figure out what MIPS ELF targets normally use, just do stabs in ELF. */ #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index e07b38bfb18..c677ee03867 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */ /* Default to -mips4. */ #define TARGET_DEFAULT MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT #define MIPS_ISA_DEFAULT 4 +#define MULTILIB_DEFAULTS { "EB", "mips4" } #include "mips/iris5gas.h" #include "mips/abi64.h" diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index e1bf692ba4c..ef6d2be35c3 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -423,6 +423,14 @@ extern char *mktemp (); #endif #endif +#ifndef MULTILIB_DEFAULTS +#if TARGET_ENDIAN_DEFAULT == 0 +#define MULTILIB_DEFAULTS { "EL", "mips1" } +#else +#define MULTILIB_DEFAULTS { "EB", "mips1" } +#endif +#endif + /* This macro is similar to `TARGET_SWITCHES' but defines names of command options that have values. Its definition is an initializer with a subgrouping for each command option. -- 2.30.2