Module Name: src Committed By: jakllsch Date: Mon May 12 17:27:23 UTC 2014
Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: revert previous; the 128 bytes is for the AMD64 redzone To generate a diff of this commit: cvs rdiff -u -r1.209 -r1.210 src/sys/arch/amd64/amd64/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/amd64/machdep.c diff -u src/sys/arch/amd64/amd64/machdep.c:1.209 src/sys/arch/amd64/amd64/machdep.c:1.210 --- src/sys/arch/amd64/amd64/machdep.c:1.209 Mon May 12 13:49:24 2014 +++ src/sys/arch/amd64/amd64/machdep.c Mon May 12 17:27:23 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.209 2014/05/12 13:49:24 uebayasi Exp $ */ +/* $NetBSD: machdep.c,v 1.210 2014/05/12 17:27:23 jakllsch Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011 @@ -111,7 +111,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.209 2014/05/12 13:49:24 uebayasi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.210 2014/05/12 17:27:23 jakllsch Exp $"); /* #define XENDEBUG_LOW */ @@ -563,7 +563,7 @@ sendsig_siginfo(const ksiginfo_t *ksi, c if (onstack) sp = ((char *)l->l_sigstk.ss_sp + l->l_sigstk.ss_size); else - sp = (char *)tf->tf_rsp; + sp = (char *)tf->tf_rsp - 128; sp -= sizeof(struct sigframe_siginfo); /* Round down the stackpointer to a multiple of 16 for the ABI. */