From 8912b9aa26801f857e1667e5b80f3612610378cc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 5 Apr 2001 18:03:16 +0000 Subject: Update. 2001-04-04 David Mosberger * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix initialization of stack_end (bug reported by Zheng Gengbin ). --- ChangeLog | 6 ++++++ sysdeps/unix/sysv/linux/ia64/makecontext.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2781c49463..5a8426c4c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-04-04 David Mosberger + + * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix + initialization of stack_end (bug reported by Zheng Gengbin + ). + 2001-04-05 Ulrich Drepper * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl. 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) { -- cgit v1.2.3-70-g09d2