From 0b7d48d1062e4383b4a78e0bb78c5f0f29479780 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 5 May 2021 17:15:57 +0200 Subject: 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 --- nptl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nptl/Makefile') 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 \ -- cgit 1.4.1