[v2,09/14] nptl: Remove sigsuspend from pthread-compat-wrappers

Message ID 20210319202914.2475530-10-adhemerval.zanella@linaro.org
State Committed
Commit dd10230fd89503a709466d45d2a8a2bd865efb5b
Headers
Series libpthread removal: pthread-compat-wrappers and other libc symbols |

Commit Message

Adhemerval Zanella March 19, 2021, 8:29 p.m. UTC
  The symbol is not exported by libpthread.
---
 nptl/Makefile | 7 -------
 1 file changed, 7 deletions(-)
  

Comments

Florian Weimer March 25, 2021, 2:34 p.m. UTC | #1
* Adhemerval Zanella via Libc-alpha:

> The symbol is not exported by libpthread.
> ---
>  nptl/Makefile | 7 -------
>  1 file changed, 7 deletions(-)
>
> diff --git a/nptl/Makefile b/nptl/Makefile
> index 6d29815b35..6ff2d5e208 100644
> --- a/nptl/Makefile
> +++ b/nptl/Makefile
> @@ -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

Good as well.
  

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index 6d29815b35..6ff2d5e208 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -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