glibc/htl
Samuel Thibault 0e75c4a463 hurd: Fix pthread_self() without libpthread
5476f8cd2e ("htl: move pthread_self info libc.") moved the htl
pthread_self() function from libpthread to libc, replacing the previous libc
stub that just returns 0. And 53da64d1cf ("htl: Initialize ___pthread_self
early") added initialization code which is needed before being able to
call pthread_self. It is currently in libpthread, and thus never called
before programs can call pthread_self from libc, which then segfaults
when accessing _pthread_self()->thread.

This moves the initialization to libc itself, as initialized variables, so
pthread_self can always be called fine.
2024-07-17 14:14:21 +02:00
..
tests htl/tests: Reformat Makefile. 2024-02-25 13:38:16 -05:00
alloca_cutoff.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cancellation.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
configure
configure.in
cthreads-compat.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
forward.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
herrno.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
htlfreeres.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libc_pthread_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libpthread_pic.a
libpthread_syms.a
libpthread.a
lockfile.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile Add pthread_getname_np and pthread_setname_np for Hurd 2024-07-16 09:21:52 +02:00
pt-alloc.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-cancel.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-cleanup.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-create.c htl: Implement some support for TLS_DTV_AT_TP 2024-03-23 23:00:30 +01:00
pt-dealloc.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-detach.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-exit.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-getattr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-initialize.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-internal.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-join.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-nthreads.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-self.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-setcancelstate.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-setcanceltype.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-sigmask.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-spin-inlines.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-testcancel.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pt-yield.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
semaphoreP.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
shlib-versions
Versions hurd: Fix pthread_self() without libpthread 2024-07-17 14:14:21 +02:00