diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-07-07 17:24:37 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-07-07 17:24:49 +0200 |
commit | 29a12632278368f197f3270532e2f6c19642512e (patch) | |
tree | bbe9089fc3cd5cdb7e21625443b752d60fbf5567 /newlib/libc/stdio/getwc_u.c | |
parent | 606013bcf108716f6a84b574864c26cff74f8a37 (diff) | |
download | cygnal-29a12632278368f197f3270532e2f6c19642512e.tar.gz cygnal-29a12632278368f197f3270532e2f6c19642512e.tar.bz2 cygnal-29a12632278368f197f3270532e2f6c19642512e.zip |
Simplify stack allocation code in child after fork
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
(child_info_fork::alloc_stack_hard_way): Drop declaration.
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Fold into
child_info_fork::alloc_stack.
(getstack): Remove.
(child_info_fork::alloc_stack): Simplify check for application-provided
stack in "hard way" code. Don't call getstack for each page, just
reallocate stack immediately as required.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/getwc_u.c')
0 files changed, 0 insertions, 0 deletions