From bcff8587bfb7fe05c3749a1760dbe39bca5daa4e Mon Sep 17 00:00:00 2001 From: wilson Date: Thu, 1 May 1997 00:15:43 +0000 Subject: [PATCH] (MASK_SPLIT_ADDR, TARGET_SPLIT_ADDRESSES): New macros. (TARGET_SWITCHES): Add -msplit-addresses, -mno-split-addresses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14001 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/mips/mips.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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}, \ -- 2.11.4.GIT