From a739a2b7c2bbc39ae57001d4b766bf07e9ad15f6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 2 Jan 2009 01:11:20 +0000 Subject: [PATCH] merge r13802 to 8.09 SVN-Revision: 13803 --- .../4.2.4/901-fix_avr32_breakage.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 toolchain/gcc/patches/4.2.4/901-fix_avr32_breakage.patch diff --git a/toolchain/gcc/patches/4.2.4/901-fix_avr32_breakage.patch b/toolchain/gcc/patches/4.2.4/901-fix_avr32_breakage.patch new file mode 100644 index 0000000000..f12169eb9c --- /dev/null +++ b/toolchain/gcc/patches/4.2.4/901-fix_avr32_breakage.patch @@ -0,0 +1,19 @@ +--- a/gcc/config/avr32/lib1funcs.S ++++ b/gcc/config/avr32/lib1funcs.S +@@ -1,6 +1,6 @@ + /* Macro for moving immediate value to register. */ + .macro mov_imm reg, imm +-.if (((\imm & 0xfffff) == \imm) || ((\imm | 0xfff00000) == \imm)) ++.if ((\imm & 0xfffff) == \imm) + mov \reg, \imm + #if __AVR32_UC__ >= 2 + .elseif ((\imm & 0xffff) == 0) +@@ -547,7 +547,7 @@ + #endif + + __avr32_f64_mul_res_inf: /* Return INF. */ +- mov r11, 0xfff00000 ++ mov_imm r11, 0xfff00000 + bld lr, 31 + bst r11, 31 + mov r10, 0 -- 2.30.2