1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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>).
This commit is contained in:
Ulrich Drepper
2001-04-05 18:03:16 +00:00
parent 96dd1a812a
commit 8912b9aa26
2 changed files with 7 additions and 1 deletions

View 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)
{