mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 11:41:07 +00:00
Put return value in correct register. Don't set the condition flags
unnecessarily.
This commit is contained in:
parent
89f1caf5ee
commit
397e58bca8
@ -25,9 +25,9 @@
|
||||
/* __longjmp(jmpbuf, val) */
|
||||
|
||||
ENTRY (__longjmp)
|
||||
movs r2, r0
|
||||
mov ip, r0
|
||||
movs r0, r1 /* get the return value in place */
|
||||
moveq r1, #1 /* can't let setjmp() return zero! */
|
||||
moveq r0, #1 /* can't let setjmp() return zero! */
|
||||
|
||||
LOADREGS(ia, r2, {v1-v6, sl, fp, sp, pc})
|
||||
LOADREGS(ia, ip, {v1-v6, sl, fp, sp, pc})
|
||||
END (__longjmp)
|
||||
|
Loading…
Reference in New Issue
Block a user