* dcrt0.cc (child_info_fork::alloc_stack): Don't subtract 4096 from stack

pointer since getstack() already does that.
This commit is contained in:
Christopher Faylor
2013-06-19 05:06:35 +00:00
parent ac0937807d
commit 9a52d79f10
2 changed files with 6 additions and 1 deletions

View File

@@ -481,7 +481,7 @@ child_info_fork::alloc_stack ()
alloc_stack_hard_way (stackp);
else
{
char *st = (char *) stacktop - 4096;
char *st = (char *) stacktop;
while (_tlstop >= st)
stackp = getstack (stackp);
stackaddr = 0;