1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 11:04:04 +02:00
openwrt-xburst/toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch
kaloz 83cccb37e9 [toolchain]: add avr32 support to gcc 4.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 14:17:06 +00:00

11 lines
397 B
Diff

--- 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