aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-05 17:15:57 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-05 17:19:38 +0200
commit0b7d48d1062e4383b4a78e0bb78c5f0f29479780 (patch)
tree7f68d1ddf402078c5ba49416a076b7875fb18b75 /nptl
parent19cc20ef2e8b9e09429741a3108e55c50758a273 (diff)
downloadglibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.tar
glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.tar.gz
glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.tar.bz2
glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.zip
nptl: Move sem_close, sem_open into libc
The symbols were moved using move-symbol-to-libc.py. Both functions are moved at the same time because they depend on internal functions in sysdeps/pthread/sem_routines.c, which are moved in this commit as well. Additional hidden prototypes are required to avoid check-localplt failures. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile6
-rw-r--r--nptl/Versions8
2 files changed, 9 insertions, 5 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 66fd90049e..ab24222c1d 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -151,6 +151,9 @@ routines = \
pthread_testcancel \
pthread_yield \
sem_clockwait \
+ sem_close \
+ sem_open \
+ sem_routines \
tpp \
unwind \
@@ -202,13 +205,10 @@ libpthread-routines = \
pthread_sigqueue \
pthread_timedjoin \
pthread_tryjoin \
- sem_close \
sem_destroy \
sem_getvalue \
sem_init \
- sem_open \
sem_post \
- sem_routines \
sem_timedwait \
sem_unlink \
sem_wait \
diff --git a/nptl/Versions b/nptl/Versions
index 97567b6354..4a9e5a0305 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -81,6 +81,10 @@ libc {
pthread_rwlockattr_setkind_np;
pthread_rwlockattr_setpshared;
}
+ GLIBC_2.1.1 {
+ sem_close;
+ sem_open;
+ }
GLIBC_2.2 {
__pthread_rwlock_destroy;
__pthread_rwlock_init;
@@ -249,6 +253,8 @@ libc {
pthread_spin_unlock;
pthread_testcancel;
sem_clockwait;
+ sem_close;
+ sem_open;
thrd_exit;
tss_create;
tss_delete;
@@ -341,8 +347,6 @@ libpthread {
}
GLIBC_2.1.1 {
- sem_close;
- sem_open;
sem_unlink;
}