aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-11-04 14:17:06 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-11-04 14:17:06 +0000
commitb6539213ecc9c36eec5d155d456a8121ddb385d1 (patch)
tree9503686e994b2c3ad2016ddd466e8568ef31ed44 /toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch
parent88b66099074eedbc462d5b5891c8b603f3f4fcd5 (diff)
downloadupstream-b6539213ecc9c36eec5d155d456a8121ddb385d1.tar.gz
upstream-b6539213ecc9c36eec5d155d456a8121ddb385d1.tar.bz2
upstream-b6539213ecc9c36eec5d155d456a8121ddb385d1.zip
[toolchain]: add avr32 support to gcc 4.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch')
-rw-r--r--toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch b/toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch
new file mode 100644
index 0000000000..6476aaa2a1
--- /dev/null
+++ b/toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch
@@ -0,0 +1,10 @@
+--- a/gcc/config/avr32/lib1funcs.S
++++ b/gcc/config/avr32/lib1funcs.S
+@@ -2800,6 +2800,7 @@ __extendsfdf_return_op1:
+ lsl r11,8 /* check mantissa */
+ movne r11, -1 /* Return NaN */
+ moveq r11, r10 /* Return inf */
++ mov r10, 0
+ rjmp __extendsfdf_return_op1
+ #endif
+