Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86_64/x86_64 Since the return address is now part ...
details: https://anonhg.NetBSD.org/src/rev/fcc51812a2cc
branches: trunk
changeset: 533826:fcc51812a2cc
user: fvdl <fvdl%NetBSD.org@localhost>
date: Wed Jul 10 01:55:43 2002 +0000
description:
Since the return address is now part of struct sigframe, adjust the stack
accordingly to match alignment when copying it out.
diffstat:
sys/arch/x86_64/x86_64/machdep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 70ff7de51123 -r fcc51812a2cc sys/arch/x86_64/x86_64/machdep.c
--- a/sys/arch/x86_64/x86_64/machdep.c Wed Jul 10 01:54:00 2002 +0000
+++ b/sys/arch/x86_64/x86_64/machdep.c Wed Jul 10 01:55:43 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.14 2002/07/04 23:32:09 thorpej Exp $ */
+/* $NetBSD: machdep.c,v 1.15 2002/07/10 01:55:43 fvdl Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -506,7 +506,7 @@
* Round down the stackpointer to a multiple of 16 for
* fxsave and the ABI.
*/
- sp = (char *)((unsigned long)sp & ~15);
+ sp = (char *)((unsigned long)sp & ~15) - 8;;
fp = (struct sigframe *)sp - 1;
if (p->p_md.md_flags & MDP_USEDFPU) {
Home |
Main Index |
Thread Index |
Old Index