summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.4.5/934-avr32_bug_9675.patch
diff options
context:
space:
mode:
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 0000000..3690e2d
--- /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
+