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

Florian Weimer fw@deneb.enyo.de
Thu Mar 25 14:34:03 GMT 2021


* 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.


More information about the Libc-alpha mailing list