diff --git a/src/system/libroot/posix/arch/arm/sigsetjmp.S b/src/system/libroot/posix/arch/arm/sigsetjmp.S index a0f59ad758..bf77eadf4e 100644 --- a/src/system/libroot/posix/arch/arm/sigsetjmp.S +++ b/src/system/libroot/posix/arch/arm/sigsetjmp.S @@ -26,14 +26,13 @@ FUNCTION_END(sigsetjmp) /* int setjmp(jmp_buf buffer) */ FUNCTION(setjmp): - stmdb sp!, {r4, lr} stmia r0, {r0-r14} str lr,[r0, #60] mrs r1,cpsr str r1,[r0,#64] ldr r1,[r0,#4] mov r0, #0 - ldmia sp!, {r4, pc} + bx lr FUNCTION_END(setjmp) #pragma weak _setjmp=setjmp