summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-01 11:35:21 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-01 11:35:21 +0000
commitbdc374886d94b8c8e7848cfa82c123f76bf0c6b5 (patch)
treef05eb7ee4a959535d24dbf2aaae0d03861cee5b3 /toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch
parent293af18664fd175403e2fe79688c9d4860798e92 (diff)
[toolchain]: add the latest avr32 toolchain patches (with additional fixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27332 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch')
-rw-r--r--toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch b/toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch
new file mode 100644
index 000000000..3690e2d04
--- /dev/null
+++ b/toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch
@@ -0,0 +1,21 @@
+--- a/gcc/config/avr32/lib1funcs.S
++++ b/gcc/config/avr32/lib1funcs.S
+@@ -1460,7 +1460,6 @@ __avr32_f64_cmp_lt:
+ 0:
+ ld.w r7, sp++
+ popm pc, r12=0
+-#endif
+
+ 3:
+ cp.w r7, 1 /* Check sign bit from r9 */
+@@ -1481,8 +1480,8 @@ __avr32_f64_cmp_lt:
+ reteq 0 /* Both operands are zero. Return false. */
+ #endif
+ ret r12
+-
+-
++#endif
++
+ #if defined(L_avr32_f64_div) || defined(L_avr32_f64_div_fast)
+ .align 2
+