diff options
Diffstat (limited to 'sysdeps/mach/hurd/cthreads.c')
-rw-r--r-- | sysdeps/mach/hurd/cthreads.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/cthreads.c b/sysdeps/mach/hurd/cthreads.c index e0cf4ddca7..640c97ec1d 100644 --- a/sysdeps/mach/hurd/cthreads.c +++ b/sysdeps/mach/hurd/cthreads.c @@ -19,6 +19,10 @@ #include <errno.h> #include <stdlib.h> +/* This serves as stub "self" pointer for libc locks when TLS is not initialized + yet. */ +char __libc_lock_self0[0]; + /* Placeholder for key creation routine from Hurd cthreads library. */ int weak_function |