diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1997-04-30 17:15:43 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1997-04-30 17:15:43 -0700 |
commit | 5ef37cd339521e9096b5f13dddb27417499c4b59 (patch) | |
tree | aa6f51fed8a833833e4953859395a42ce0a73359 /gcc | |
parent | 8acd7d300281180ea1008acdbd2a4d885051b00d (diff) | |
download | gcc-5ef37cd339521e9096b5f13dddb27417499c4b59.zip gcc-5ef37cd339521e9096b5f13dddb27417499c4b59.tar.gz gcc-5ef37cd339521e9096b5f13dddb27417499c4b59.tar.bz2 |
(MASK_SPLIT_ADDR, TARGET_SPLIT_ADDRESSES): New macros.
(TARGET_SWITCHES): Add -msplit-addresses, -mno-split-addresses.
From-SVN: r14001
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mips/mips.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 1c83ef8..1b6d411 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}, \ |