mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
fix avr32 build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13802 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8c537200a0
commit
a70f3d2fec
19
toolchain/gcc/patches/4.2.4/901-fix_avr32_breakage.patch
Normal file
19
toolchain/gcc/patches/4.2.4/901-fix_avr32_breakage.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user