aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-11-05 10:45:20 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-11-05 10:45:20 -0500
commit7f2e00db7b5b50383431ffee7a5545481879a629 (patch)
tree81ed7119438040107f66c676f1360dad2ad32ff4
parent47737445096764670708b6d934ab2906fa95d237 (diff)
downloadgcc-7f2e00db7b5b50383431ffee7a5545481879a629.zip
gcc-7f2e00db7b5b50383431ffee7a5545481879a629.tar.gz
gcc-7f2e00db7b5b50383431ffee7a5545481879a629.tar.bz2
(MULTILIB_DEFAULTS): Define.
From-SVN: r10551
-rw-r--r--gcc/config/mips/elf64.h6
-rw-r--r--gcc/config/mips/iris6.h1
-rw-r--r--gcc/config/mips/mips.h8
3 files changed, 15 insertions, 0 deletions
diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h
index 77343e8..ab5aee9 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 e07b38b..c677ee0 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 e1bf692..ef6d2be 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.