diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 1c83ef8ec91..1b6d4110e2c 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -258,7 +258,7 @@ extern void text_section (); /* Bits for real switches */ #define MASK_INT64 0x00000001 /* ints are 64 bits */ #define MASK_LONG64 0x00000002 /* longs and pointers are 64 bits */ -#define MASK_UNUSED 0x00000004 +#define MASK_SPLIT_ADDR 0x00000004 /* Address splitting is enabled. */ #define MASK_GPOPT 0x00000008 /* Optimize for global pointer */ #define MASK_GAS 0x00000010 /* Gas used instead of MIPS as */ #define MASK_NAME_REGS 0x00000020 /* Use MIPS s/w reg name convention */ @@ -299,6 +299,9 @@ extern void text_section (); #define TARGET_FLOAT64 (target_flags & MASK_FLOAT64) #define TARGET_64BIT (target_flags & MASK_64BIT) + /* Mips vs. GNU linker */ +#define TARGET_SPLIT_ADDRESSES (target_flags & MASK_SPLIT_ADDR) + /* Mips vs. GNU assembler */ #define TARGET_GAS (target_flags & MASK_GAS) #define TARGET_UNIX_ASM (!TARGET_GAS) @@ -371,6 +374,8 @@ extern void text_section (); { \ {"int64", MASK_INT64 | MASK_LONG64}, \ {"long64", MASK_LONG64}, \ + {"split-addresses", MASK_SPLIT_ADDR}, \ + {"no-split-addresses", -MASK_SPLIT_ADDR}, \ {"mips-as", -MASK_GAS}, \ {"gas", MASK_GAS}, \ {"rnames", MASK_NAME_REGS}, \