diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 1996-10-17 18:45:59 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 1996-10-17 18:45:59 +0000 |
commit | 29a5d7cc71660aac996e336a4733e9d8ef2b7f9b (patch) | |
tree | 7813776ad9c6057d117ab919ab0e221f693be81e | |
parent | 0cb1d109f42d657e6a93937c7dfc91338642b2eb (diff) | |
download | gcc-29a5d7cc71660aac996e336a4733e9d8ef2b7f9b.zip gcc-29a5d7cc71660aac996e336a4733e9d8ef2b7f9b.tar.gz gcc-29a5d7cc71660aac996e336a4733e9d8ef2b7f9b.tar.bz2 |
Set TARGET_LONG64 for the EABI
From-SVN: r12975
-rw-r--r-- | gcc/config/mips/mips.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 29a53ac..4266f59 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -3469,6 +3469,10 @@ override_options () if (mips_abi == ABI_32) target_flags &= ~ (MASK_FLOAT64|MASK_64BIT); + /* In the EABI in 64 bit mode, longs and pointers are 64 bits. */ + if (mips_abi == ABI_EABI && MASK_64BIT) + target_flags |= MASK_LONG64; + /* ??? This doesn't work yet, so don't let people try to use it. */ if (mips_abi == ABI_32) error ("The -mabi=32 support does not work yet."); |