Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/lib/libc/arch/alpha/gen Adjust the saved RA as well as ...
details: https://anonhg.NetBSD.org/src/rev/174289d4a0fe
branches: nathanw_sa
changeset: 506430:174289d4a0fe
user: nathanw <nathanw%NetBSD.org@localhost>
date: Tue Nov 05 19:08:47 2002 +0000
description:
Adjust the saved RA as well as the saved PC.
Fixes crash in test cu5.
diffstat:
lib/libc/arch/alpha/gen/swapcontext.S | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r d2cb9c0bf53d -r 174289d4a0fe lib/libc/arch/alpha/gen/swapcontext.S
--- a/lib/libc/arch/alpha/gen/swapcontext.S Sun Nov 03 12:29:02 2002 +0000
+++ b/lib/libc/arch/alpha/gen/swapcontext.S Tue Nov 05 19:08:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: swapcontext.S,v 1.1.2.2 2001/12/17 22:10:03 nathanw Exp $ */
+/* $NetBSD: swapcontext.S,v 1.1.2.3 2002/11/05 19:08:47 nathanw Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -48,6 +48,7 @@
ldq t0, (24-16)(sp)
bne v0, Lerr
ldq t1, (24- 8)(sp)
+ stq t1, (56 + 26 * 8)(t0) /* Adjust saved RA */
stq t1, (56 + 32 * 8)(t0) /* Adjust saved PC */
lda t1, 24(sp)
stq t1, (56 + 30 * 8)(t0) /* Adjust saved SP */
Home |
Main Index |
Thread Index |
Old Index