[v2,08/14] nptl: Remove msgrcv from pthread-compat-wrappers

Message ID 20210319202914.2475530-9-adhemerval.zanella@linaro.org
State Committed
Commit ea8966b96537784b05164bd0c486e31defb7d79d
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 | 2 --
 1 file changed, 2 deletions(-)
  

Comments

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

> The symbol is not exported by libpthread.
> ---
>  nptl/Makefile | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/nptl/Makefile b/nptl/Makefile
> index c159af8a33..6d29815b35 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 = \
> -		      msgrcv \
>  		      sigsuspend \
>  
>  libpthread-routines = \
> @@ -280,7 +279,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-msgrcv.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables

Also good.
  

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index c159af8a33..6d29815b35 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 = \
-		      msgrcv \
 		      sigsuspend \
 
 libpthread-routines = \
@@ -280,7 +279,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-msgrcv.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables