From: Richard Kenner Date: Sun, 5 Nov 1995 15:45:20 +0000 (-0500) Subject: (MULTILIB_DEFAULTS): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f2e00db7b5b50383431ffee7a5545481879a629;p=gcc.git (MULTILIB_DEFAULTS): Define. From-SVN: r10551 --- 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.