diff options
author | 2003-02-12 05:30:47 +0000 | |
---|---|---|
committer | 2003-02-12 05:30:47 +0000 | |
commit | 43447163c9818325b3252d9ef9c657bba3087056 (patch) | |
tree | df8fa447ac7c3bc68ddd2f62542d29ca2bc5c433 | |
parent | gcc knows about hppa alergy to propolice now. 10x to etoh@ (diff) | |
download | wireguard-openbsd-43447163c9818325b3252d9ef9c657bba3087056.tar.xz wireguard-openbsd-43447163c9818325b3252d9ef9c657bba3087056.zip |
only align the first stack frame onto the minimal required alignment
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 4 |
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; |