[21/30] nptl: Remove sigsuspend from libpthread

Message ID 20210316200510.2135405-22-adhemerval.zanella@linaro.org
State New
Headers show
Series
  • libpthread removal: pthread-compat-wrappers and other libc symbols
Related show

Commit Message

Florian Weimer via Libc-alpha March 16, 2021, 8:05 p.m.
The libc version is identical and built with same flags.

Checked on x86_64-linux-gnu.
---
 nptl/Makefile | 2 --
 1 file changed, 2 deletions(-)

-- 
2.25.1

Comments

Florian Weimer via Libc-alpha March 17, 2021, 6:17 p.m. | #1
* Adhemerval Zanella via Libc-alpha:

> The libc version is identical and built with same flags.

>

> Checked on x86_64-linux-gnu.

> ---

>  nptl/Makefile | 2 --

>  1 file changed, 2 deletions(-)

>

> diff --git a/nptl/Makefile b/nptl/Makefile

> index 36b59f8a62..709818392e 100644

> --- a/nptl/Makefile

> +++ b/nptl/Makefile

> @@ -81,7 +81,6 @@ static-only-routines = pthread_atfork

>  # We need to provide certain routines for compatibility with existing

>  # binaries.

>  pthread-compat-wrappers = \

> -		      sigsuspend \

>  		      recvmsg sendmsg

>  

>  libpthread-routines = \

> @@ -284,7 +283,6 @@ CFLAGS-fcntl64.c += -fexceptions -fasynchronous-unwind-tables

>  CFLAGS-lockf.c += -fexceptions

>  CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables

>  CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables

> -CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables

>  CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables

>  

>  CFLAGS-pt-system.c += -fexceptions


Another candidate for a different commit message.  Thanks.

Florian

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index 36b59f8a62..709818392e 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -81,7 +81,6 @@  static-only-routines = pthread_atfork
 # We need to provide certain routines for compatibility with existing
 # binaries.
 pthread-compat-wrappers = \
-		      sigsuspend \
 		      recvmsg sendmsg
 
 libpthread-routines = \
@@ -284,7 +283,6 @@  CFLAGS-fcntl64.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-lockf.c += -fexceptions
 CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables
 
 CFLAGS-pt-system.c += -fexceptions