Commit 29a5d7cc by Ian Lance Taylor

Set TARGET_LONG64 for the EABI

From-SVN: r12975
parent 0cb1d109
...@@ -3469,6 +3469,10 @@ override_options () ...@@ -3469,6 +3469,10 @@ override_options ()
if (mips_abi == ABI_32) if (mips_abi == ABI_32)
target_flags &= ~ (MASK_FLOAT64|MASK_64BIT); 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. */ /* ??? This doesn't work yet, so don't let people try to use it. */
if (mips_abi == ABI_32) if (mips_abi == ABI_32)
error ("The -mabi=32 support does not work yet."); error ("The -mabi=32 support does not work yet.");
......
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