search for: d351e0e

Displaying 1 result from an estimated 1 matches for "d351e0e".

Did you mean: d35140
2012 Jul 01
2
[klibc:master] arm/setjmp.S: fix longjmp
...! Signed-off-by: Steve McIntyre <steve at einval.com> Signed-off-by: maximilian attems <max at stro.at> --- usr/klibc/arch/arm/setjmp.S | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/usr/klibc/arch/arm/setjmp.S b/usr/klibc/arch/arm/setjmp.S index 6018bda..d351e0e 100644 --- a/usr/klibc/arch/arm/setjmp.S +++ b/usr/klibc/arch/arm/setjmp.S @@ -41,7 +41,9 @@ setjmp: longjmp: ldmia r0, {r4, r5, r6, r7, r8, r9, r10, fp, sp, lr} mov r0, r1 - BX(lr) + bne 1f + mov r0, #1 +1: BX(lr) .size longjmp,.-longjmp #else /* __thumb__ */