From f987e9b7a3b98185b3398caaac0ebd24ef4cd358 Mon Sep 17 00:00:00 2001 From: Guy-Fleury Iteriteka Date: Sat, 18 Mar 2023 11:58:25 +0200 Subject: htl: move ___pthread_self into libc. sysdeps/mach/hurd/htl/pt-pthread_self.c: New file. htl/Makefile: .. Add it to libc routine. sysdeps/mach/hurd/htl/pt-sysdep.c(__pthread_self): Remove it. sysdeps/mach/hurd/htl/pt-sysdep.h(__pthread_self): Add hidden propertie. htl/Versions(__pthread_self) Version it as private symbol. Signed-off-by: Guy-Fleury Iteriteka Message-Id: <20230318095826.1125734-3-gfleury@disroot.org> --- htl/Makefile | 2 +- htl/Versions | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'htl') diff --git a/htl/Makefile b/htl/Makefile index 9194c4fb85..622e85cef8 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -164,7 +164,7 @@ headers := \ distribute := -routines := forward libc_pthread_init alloca_cutoff htlfreeres pt-nthreads +routines := forward libc_pthread_init alloca_cutoff htlfreeres pt-nthreads pt-pthread_self shared-only-routines = forward extra-libs := libpthread diff --git a/htl/Versions b/htl/Versions index 113110f42e..9ec848119e 100644 --- a/htl/Versions +++ b/htl/Versions @@ -31,6 +31,7 @@ libc { __libc_pthread_init; __pthread_cleanup_stack; __pthread_total; + ___pthread_self; } } -- cgit 1.4.1