projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cb1d10
)
Set TARGET_LONG64 for the EABI
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Thu, 17 Oct 1996 18:45:59 +0000
(18:45 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Thu, 17 Oct 1996 18:45:59 +0000
(18:45 +0000)
From-SVN: r12975
gcc/config/mips/mips.c
patch
|
blob
|
history
diff --git
a/gcc/config/mips/mips.c
b/gcc/config/mips/mips.c
index 29a53ac760c6e31d27713b3ce19c8322c8e541d0..4266f59cd5da13e244cc9b3d45e79bd19b71cc3f 100644
(file)
--- 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.");