#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
/* 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"
#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.