(MULTILIB_DEFAULTS): Define.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 5 Nov 1995 15:45:20 +0000 (10:45 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 5 Nov 1995 15:45:20 +0000 (10:45 -0500)
From-SVN: r10551

gcc/config/mips/elf64.h
gcc/config/mips/iris6.h
gcc/config/mips/mips.h

index 77343e84b58879052b3bbf5a06f3b87c139f1772..ab5aee99a84b308aec78aa36ff929a260bdcc012 100644 (file)
@@ -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
index e07b38bfb18b712bb54f59fe9ad713459e9f4fc3..c677ee03867841ee761b42b9607cd21c381d019a 100644 (file)
@@ -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"
index e1bf692ba4c8237c1c3c4c7ee932718cb0187243..ef6d2be35c31c9a190d2c3d56931d8c89c5ce0f2 100644 (file)
@@ -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.