1998-11-22 Roland McGrath <roland@baalperazim.frob.com>
authorroland <roland>
Sun, 22 Nov 1998 17:32:14 +0000 (17:32 +0000)
committerroland <roland>
Sun, 22 Nov 1998 17:32:14 +0000 (17:32 +0000)
commit2495d7e625582c938567d810666b36a122014796
tree861c6fd402f5a5b501be3f067dc571d5d5674ffc
parent3714830fed77b385903a8dacb2712909bcca94e8
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