changed default kernel to 2.6.28.5, it at least runs on
[openwrt.git] / toolchain / gcc / patches / 4.1.2 / 802-fix-ICE-in-arm_unwind_emit_set.patch
1 --- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27 117055
2 +++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24 117056
3 @@ -15415,6 +15415,15 @@
4 /* Move from sp to reg. */
5 asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0));
6 }
7 + else if (GET_CODE (e1) == PLUS
8 + && GET_CODE (XEXP (e1, 0)) == REG
9 + && REGNO (XEXP (e1, 0)) == SP_REGNUM
10 + && GET_CODE (XEXP (e1, 1)) == CONST_INT)
11 + {
12 + /* Set reg to offset from sp. */
13 + asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
14 + REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
15 + }
16 else
17 abort ();
18 break;
This page took 0.040179 seconds and 5 git commands to generate.