summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.2.1/arm-crunch-offset.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-30 14:50:58 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-30 14:50:58 +0000
commitb026cba70e6ddba33680f90c2693738b7c19a9b7 (patch)
tree9018106d6778cb88386c852940d617e0c5d99152 /packages/gcc/gcc-4.2.1/arm-crunch-offset.patch
parent634f80151cba377aedff02a302f44eaa5b52af7c (diff)
gcc 4.2.1: add patches for maverick crunch on ep93xx (That's an FPU)
Diffstat (limited to 'packages/gcc/gcc-4.2.1/arm-crunch-offset.patch')
-rw-r--r--packages/gcc/gcc-4.2.1/arm-crunch-offset.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.1/arm-crunch-offset.patch b/packages/gcc/gcc-4.2.1/arm-crunch-offset.patch
new file mode 100644
index 0000000000..3a40f0d224
--- /dev/null
+++ b/packages/gcc/gcc-4.2.1/arm-crunch-offset.patch
@@ -0,0 +1,20 @@
+--- gcc-4.1.2/gcc/config/arm/arm.c-original 2007-06-12 14:46:20.000000000 +1000
++++ gcc-4.1.2/gcc/config/arm/arm.c 2007-06-12 14:48:06.000000000 +1000
+@@ -3460,7 +3460,7 @@
+
+ use_ldrd = (TARGET_LDRD
+ && (mode == DImode
+- || (mode == DFmode && (TARGET_SOFT_FLOAT || TARGET_VFP))));
++ || (mode == DFmode && (TARGET_SOFT_FLOAT || TARGET_MAVERICK || TARGET_VFP))));
+
+ if (code == POST_INC || code == PRE_DEC
+ || ((code == PRE_INC || code == POST_DEC)
+@@ -3960,7 +3960,7 @@
+ /* VFP addressing modes actually allow greater offsets, but for
+ now we just stick with the lowest common denominator. */
+ if (mode == DImode
+- || ((TARGET_SOFT_FLOAT || TARGET_VFP) && mode == DFmode))
++ || ((TARGET_SOFT_FLOAT || TARGET_MAVERICK || TARGET_VFP) && mode == DFmode))
+ {
+ low_n = n & 0x0f;
+ n &= ~0x0f;