aboutsummaryrefslogtreecommitdiff
path: root/htl
diff options
context:
space:
mode:
authorGuy-Fleury Iteriteka <gfleury@disroot.org>2023-03-18 11:58:25 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-05 01:26:34 +0200
commitf987e9b7a3b98185b3398caaac0ebd24ef4cd358 (patch)
treea8410612cb9b17913a9974d7cede90b557c3d84a /htl
parent7bba5bd8e8c9b48b1983e5943e508b92e1270ac4 (diff)
downloadglibc-f987e9b7a3b98185b3398caaac0ebd24ef4cd358.zip
glibc-f987e9b7a3b98185b3398caaac0ebd24ef4cd358.tar.gz
glibc-f987e9b7a3b98185b3398caaac0ebd24ef4cd358.tar.bz2
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 <gfleury@disroot.org> Message-Id: <20230318095826.1125734-3-gfleury@disroot.org>
Diffstat (limited to 'htl')
-rw-r--r--htl/Makefile2
-rw-r--r--htl/Versions1
2 files changed, 2 insertions, 1 deletions
diff --git a/htl/Makefile b/htl/Makefile
index 9194c4f..622e85c 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 113110f..9ec8481 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -31,6 +31,7 @@ libc {
__libc_pthread_init;
__pthread_cleanup_stack;
__pthread_total;
+ ___pthread_self;
}
}