htl: Initialize later
commit9cec82de715b3ffc625a6c67d107a3fcb26af566
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 11 Nov 2020 10:35:10 +0000 (11 10:35 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 11 Nov 2020 20:41:25 +0000 (11 20:41 +0000)
treee66429ab410d9ef1510ac702a39ec439e956742f
parentd482ebfa67850976485fdf061cd52427eb8a3cb7
htl: Initialize later

Since htl does not actually need a stack switch, we can initialize it
like nptl is, avoiding all sorts of startup issues with ifunc.

More precisely, htl defines __pthread_initialize_minimal instead of the
elder _cthread_init_routine. We can then drop the stack switching dances.
htl/Versions
htl/libpthread_syms.a
hurd/Versions
sysdeps/mach/hurd/htl/pt-sysdep.c
sysdeps/mach/hurd/i386/init-first.c
sysdeps/mach/hurd/i386/libc.abilist
sysdeps/mach/hurd/i386/libpthread.abilist
sysdeps/mach/i386/sysdep.h
sysdeps/mach/sysdep.h