[18/30] nptl: Remove msgrcv from libpthread

Message ID 20210316200510.2135405-19-adhemerval.zanella@linaro.org
State Superseded
Headers
Series libpthread removal: pthread-compat-wrappers and other libc symbols |

Commit Message

Adhemerval Zanella March 16, 2021, 8:04 p.m. UTC
  The libc version is identical and built with same flags.

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

Comments

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

> The libc version is identical and built with same flags.
>
> Checked on x86_64-linux-gnu.
> ---
>  nptl/Makefile | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/nptl/Makefile b/nptl/Makefile
> index fc4e511d8b..501228989a 100644
> --- a/nptl/Makefile
> +++ b/nptl/Makefile
> @@ -81,7 +81,7 @@ static-only-routines = pthread_atfork
>  # We need to provide certain routines for compatibility with existing
>  # binaries.
>  pthread-compat-wrappers = \
> -		      msgrcv msgsnd \
> +		      msgsnd \
>  		      sigwait sigsuspend \
>  		      recvmsg sendmsg
>  
> @@ -284,7 +284,6 @@ CFLAGS-fcntl.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-fcntl64.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-lockf.c += -fexceptions
>  CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
> -CFLAGS-msgrcv.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-msgsnd.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
>  CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables

Please use a different commit message.  The symbol was not exported by
libpthread by mistake, so there is actually no symbol to move.

Thanks,
Florian
  

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index fc4e511d8b..501228989a 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -81,7 +81,7 @@  static-only-routines = pthread_atfork
 # We need to provide certain routines for compatibility with existing
 # binaries.
 pthread-compat-wrappers = \
-		      msgrcv msgsnd \
+		      msgsnd \
 		      sigwait sigsuspend \
 		      recvmsg sendmsg
 
@@ -284,7 +284,6 @@  CFLAGS-fcntl.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-fcntl64.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-lockf.c += -fexceptions
 CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-msgrcv.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-msgsnd.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables