Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/i386/gen Fix wrong %esp fixup.
details: https://anonhg.NetBSD.org/src/rev/75b94669d8d0
branches: trunk
changeset: 542317:75b94669d8d0
user: fvdl <fvdl%NetBSD.org@localhost>
date: Sun Jan 26 15:54:35 2003 +0000
description:
Fix wrong %esp fixup.
diffstat:
lib/libc/arch/i386/gen/swapcontext.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b136077ac91b -r 75b94669d8d0 lib/libc/arch/i386/gen/swapcontext.S
--- a/lib/libc/arch/i386/gen/swapcontext.S Sun Jan 26 14:12:10 2003 +0000
+++ b/lib/libc/arch/i386/gen/swapcontext.S Sun Jan 26 15:54:35 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: swapcontext.S,v 1.2 2003/01/18 11:08:12 thorpej Exp $ */
+/* $NetBSD: swapcontext.S,v 1.3 2003/01/26 15:54:35 fvdl Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS) && !defined(lint)
- RCSID("$NetBSD: swapcontext.S,v 1.2 2003/01/18 11:08:12 thorpej Exp $")
+ RCSID("$NetBSD: swapcontext.S,v 1.3 2003/01/26 15:54:35 fvdl Exp $")
#endif /* LIBC_SCCS && !lint */
ENTRY(swapcontext)
@@ -63,7 +63,7 @@
#else
leal 8(%esp),%edx
#endif
- movl %edx,(36 + 17 * 36)(%ecx) /* ... and %esp. */
+ movl %edx,(36 + 17 * 4)(%ecx) /* ... and %esp. */
/* Note: oucp->%eax has been cleared by getcontext(). */
movl 8(%esp),%ecx
PIC_PROLOGUE
Home |
Main Index |
Thread Index |
Old Index