nptl: Remove sigsuspend from pthread-compat-wrappers
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 18 Mar 2021 17:48:58 +0000 (14:48 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 26 Mar 2021 16:37:18 +0000 (13:37 -0300)
The symbol is not exported by libpthread.

nptl/Makefile

index 6d29815..6ff2d5e 100644 (file)
@@ -78,13 +78,7 @@ routines = \
 shared-only-routines = forward
 static-only-routines = pthread_atfork
 
-# We need to provide certain routines for compatibility with existing
-# binaries.
-pthread-compat-wrappers = \
-                     sigsuspend \
-
 libpthread-routines = \
-  $(pthread-compat-wrappers) \
   cancellation \
   cleanup \
   cleanup_compat \
@@ -279,7 +273,6 @@ CFLAGS-sem_clockwait.c = -fexceptions -fasynchronous-unwind-tables
 # These are the function wrappers we have to duplicate here.
 CFLAGS-lockf.c += -fexceptions
 CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables
 
 CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables