1998-11-22 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Sun, 22 Nov 1998 17:32:14 +0000 (17:32 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 22 Nov 1998 17:32:14 +0000 (17:32 +0000)
commit54509b04ce486ce04e3a0f92ef44beb5307374c9
treead603fd5985bbb2925aaa0f5f9f062ced6c880b1
parentb17f830fe1d176cf28cef34b5241aabaf3198e9c
1998-11-22  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
for the per-thread variables of the main user thread to make it
possible to use malloc as soon as _hurd_preinit_hook has been run.
For cthreads, copy values to new stack from there.
For non-cthreads, malloc threadvar array here and copy from temp space.
(init1): No longer initialize threadvars here.
(doinit1): Made static void at top level.
(init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
inline a function that uses dynamic auto arrays.
sysdeps/mach/hurd/i386/init-first.c