diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-11-04 14:17:06 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-11-04 14:17:06 +0000 |
commit | 54dea0c74f09b73d4143956bce1fbed54cc3ca4d (patch) | |
tree | 38cef5e9ffbcbf0e4e979789d4e3246e6e2707e3 /toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch | |
parent | edcbafc836ac407e57f42dc7e984657aa9125fe4 (diff) | |
download | mtk-20170518-54dea0c74f09b73d4143956bce1fbed54cc3ca4d.zip mtk-20170518-54dea0c74f09b73d4143956bce1fbed54cc3ca4d.tar.gz mtk-20170518-54dea0c74f09b73d4143956bce1fbed54cc3ca4d.tar.bz2 |
add avr32 support to gcc 4.3.5
SVN-Revision: 23865
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.patch | 10 |
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 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 + |