summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-02-12 05:30:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-02-12 05:30:48 +0000
commit6a9735e52891e3c4f5f3fd3d49ef96a2121edf23 (patch)
tree6c9b94492dbd3c942a300c3f59ba20ffd0de39b2
parentcce86794e8d549588e92f05e69a519dcbcdcecf5 (diff)
only align the first stack frame onto the minimal required alignment
-rw-r--r--sys/arch/hppa/hppa/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 317a424af4f..a506c8b073c 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.99 2003/02/10 15:47:02 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.100 2003/02/12 05:30:47 mickey Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -1184,7 +1184,7 @@ setregs(p, pack, stack, retval)
tf->tf_arg1 = tf->tf_arg2 = 0; /* XXX dynload stuff */
/* setup terminal stack frame */
- stack = hppa_round_page(stack);
+ stack = (stack + 0x1f) & ~0x1f;
tf->tf_r3 = stack;
tf->tf_sp = stack += HPPA_FRAME_SIZE;
zero = 0;