From 54dea0c74f09b73d4143956bce1fbed54cc3ca4d Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 4 Nov 2010 14:17:06 +0000 Subject: add avr32 support to gcc 4.3.5 SVN-Revision: 23865 --- toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch (limited to 'toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch') 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 0000000..6476aaa --- /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 + -- cgit v1.1