]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 5 Apr 2001 18:03:16 +0000 (18:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 5 Apr 2001 18:03:16 +0000 (18:03 +0000)
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>).

ChangeLog
sysdeps/unix/sysv/linux/ia64/makecontext.c

index 2781c494630a34a9f263d30b27236f032c3d7f78..5a8426c4c3a491ce010aed300ec13b9c9ed724a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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>).
+
 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
index e4c9b17491415154f9fd37778a200f3d1d731cdd..a969a1beff686a35ca7b899694d121054aae0768 100644 (file)
@@ -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)
     {