From 397e58bca857fb98b204a1336e4566292ecc2667 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 20 Aug 1998 17:33:18 +0000 Subject: [PATCH] Put return value in correct register. Don't set the condition flags unnecessarily. --- sysdeps/arm/__longjmp.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/arm/__longjmp.S b/sysdeps/arm/__longjmp.S index 239b0cfc85..742e0baa16 100644 --- a/sysdeps/arm/__longjmp.S +++ b/sysdeps/arm/__longjmp.S @@ -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)