Put return value in correct register. Don't set the condition flags

unnecessarily.
This commit is contained in:
Ulrich Drepper 1998-08-20 17:33:18 +00:00
parent 89f1caf5ee
commit 397e58bca8

View File

@ -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)