aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99531.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99531.patch')
-rw-r--r--toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99531.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99531.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99531.patch
new file mode 100644
index 0000000000..5559dfeda4
--- /dev/null
+++ b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99531.patch
@@ -0,0 +1,25 @@
+2011-07-29 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
+
+ gcc/
+ Backport only bits marked as [*] from mainline:
+ 2010-12-19 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * config/arm/arm.c ([*]arm_legitimate_index_p): Add VFP load/store
+ index range case. Change to SF/DFmode tests to avoid capturing HFmode.
+ (thumb2_legitimate_index_p): Same.
+
+=== modified file 'gcc/config/arm/arm.c'
+--- old/gcc/config/arm/arm.c 2011-06-29 10:46:39 +0000
++++ new/gcc/config/arm/arm.c 2011-07-29 15:01:53 +0000
+@@ -5643,8 +5643,8 @@
+
+ /* Standard coprocessor addressing modes. */
+ if (TARGET_HARD_FLOAT
+- && (TARGET_FPA || TARGET_MAVERICK)
+- && (GET_MODE_CLASS (mode) == MODE_FLOAT
++ && (TARGET_FPA || TARGET_MAVERICK || TARGET_VFP)
++ && ((mode == SFmode || mode == DFmode)
+ || (TARGET_MAVERICK && mode == DImode)))
+ return (code == CONST_INT && INTVAL (index) < 1024
+ && INTVAL (index) > -1024
+