* 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

@ -1,3 +1,8 @@
2013-06-18 Christopher Faylor <me.cygwin2013@cgf.cx>
* dcrt0.cc (child_info_fork::alloc_stack): Don't subtract 4096 from
stack pointer since getstack() already does that.
2013-06-18 Corinna Vinschen <corinna@vinschen.de>
* gmon.c: Drop gratuitous inclusion of strings.h. Remove __MINGW32__

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;