Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/arm/gen Add missing registers.



details:   https://anonhg.NetBSD.org/src/rev/396f402500ca
branches:  trunk
changeset: 782944:396f402500ca
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Nov 28 02:18:24 2012 +0000

description:
Add missing registers.

diffstat:

 lib/libc/arch/arm/gen/swapcontext.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r a5149aae7836 -r 396f402500ca lib/libc/arch/arm/gen/swapcontext.S
--- a/lib/libc/arch/arm/gen/swapcontext.S       Wed Nov 28 01:40:19 2012 +0000
+++ b/lib/libc/arch/arm/gen/swapcontext.S       Wed Nov 28 02:18:24 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swapcontext.S,v 1.8 2012/09/27 11:20:20 skrll Exp $    */
+/*     $NetBSD: swapcontext.S,v 1.9 2012/11/28 02:18:24 matt Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -33,15 +33,15 @@
 #include "assym.h"
 
 #if defined(LIBC_SCCS) && !defined(lint)
-        RCSID("$NetBSD: swapcontext.S,v 1.8 2012/09/27 11:20:20 skrll Exp $")
+        RCSID("$NetBSD: swapcontext.S,v 1.9 2012/11/28 02:18:24 matt Exp $")
 #endif /* LIBC_SCCS && !lint */
 
 ENTRY(swapcontext)
        stmfd   sp!, {r0-r1, lr}        /* Must save oucp, ucp, lr. */
-       sub     sp, #4
+       sub     sp, sp, #4
        bl      PIC_SYM(_C_LABEL(_getcontext), PLT)  /* getcontext(oucp) */
        cmp     r0, #0
-       add     sp, #4
+       add     sp, sp, #4
        ldmfd   sp!, {r0-r1, lr}
        RETc(ne)
        str     sp, [r0, #_UC_REGS_SP]  /* Adjust saved SP. */



Home | Main Index | Thread Index | Old Index