Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/arm32/sys Oops, need to save r2 and r3 as well.



details:   https://anonhg.NetBSD.org/src/rev/14531d31f2ca
branches:  trunk
changeset: 481374:14531d31f2ca
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Jan 27 15:11:17 2000 +0000

description:
Oops, need to save r2 and r3 as well.

diffstat:

 lib/libc/arch/arm32/sys/ptrace.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r c2781117e8a8 -r 14531d31f2ca lib/libc/arch/arm32/sys/ptrace.S
--- a/lib/libc/arch/arm32/sys/ptrace.S  Thu Jan 27 14:58:48 2000 +0000
+++ b/lib/libc/arch/arm32/sys/ptrace.S  Thu Jan 27 15:11:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ptrace.S,v 1.5 2000/01/24 21:57:40 kleink Exp $ */
+/*     $NetBSD: ptrace.S,v 1.6 2000/01/27 15:11:17 kleink Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,11 +39,11 @@
 
 ENTRY(ptrace)
 #ifdef _REENTRANT
-       stmfd   sp!, {r0, r1, lr}
+       stmfd   sp!, {r0-r3, lr}
        bl      _C_LABEL(__errno)
        mov     r1, #0x00000000
        str     r1, [r0]
-       ldmfd   sp!, {r0, r1, lr}
+       ldmfd   sp!, {r0-r3, lr}
 #else
        stmfd   sp!, {r0, r1}
 #ifdef PIC



Home | Main Index | Thread Index | Old Index