Commit 7f2e00db by Richard Kenner

(MULTILIB_DEFAULTS): Define.

From-SVN: r10551
parent 47737445
...@@ -25,6 +25,12 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,6 +25,12 @@ Boston, MA 02111-1307, USA. */
#define TARGET_DEFAULT MASK_FLOAT64|MASK_64BIT #define TARGET_DEFAULT MASK_FLOAT64|MASK_64BIT
#define MIPS_ISA_DEFAULT 3 #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 /* Until we figure out what MIPS ELF targets normally use, just do
stabs in ELF. */ stabs in ELF. */
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
......
...@@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
/* Default to -mips4. */ /* Default to -mips4. */
#define TARGET_DEFAULT MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT #define TARGET_DEFAULT MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT
#define MIPS_ISA_DEFAULT 4 #define MIPS_ISA_DEFAULT 4
#define MULTILIB_DEFAULTS { "EB", "mips4" }
#include "mips/iris5gas.h" #include "mips/iris5gas.h"
#include "mips/abi64.h" #include "mips/abi64.h"
......
...@@ -423,6 +423,14 @@ extern char *mktemp (); ...@@ -423,6 +423,14 @@ extern char *mktemp ();
#endif #endif
#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 /* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an command options that have values. Its definition is an
initializer with a subgrouping for each command option. initializer with a subgrouping for each command option.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment