aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-05 18:03:16 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-05 18:03:16 +0000
commit8912b9aa26801f857e1667e5b80f3612610378cc (patch)
tree4a3355c98736f48d560c0e90b0c8fb542e5252be /sysdeps
parent96dd1a812a0aedb0f5df4ec4a5cb2fd67bb8876f (diff)
downloadglibc-8912b9aa26801f857e1667e5b80f3612610378cc.tar
glibc-8912b9aa26801f857e1667e5b80f3612610378cc.tar.gz
glibc-8912b9aa26801f857e1667e5b80f3612610378cc.tar.bz2
glibc-8912b9aa26801f857e1667e5b80f3612610378cc.zip
Update.
2001-04-04 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix initialization of stack_end (bug reported by Zheng Gengbin <gzheng@students.uiuc.edu>).
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/makecontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/makecontext.c b/sysdeps/unix/sysv/linux/ia64/makecontext.c
index e4c9b17491..a969a1beff 100644
--- a/sysdeps/unix/sysv/linux/ia64/makecontext.c
+++ b/sysdeps/unix/sysv/linux/ia64/makecontext.c
@@ -56,7 +56,7 @@ __makecontext (ucontext_t *ucp, void (*func) (void), int argc, ...)
stack_end = (long) sc->sc_stack.ss_sp + sc->sc_stack.ss_size;
stack_start = (stack_start + 7) & -8;
- stack_end = (stack_start + 15) & -16;
+ stack_end = stack_end & -16;
if (argc > 8)
{