* don't mess with the stack before storing the register state :$
This finally makes KDL fully usuable on the ARM port! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39015 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c0ea325df9
commit
18b48221c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user