about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-12 16:33:38 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-18 15:54:39 -0300
commit494c3beec9d7ab151879a90586af648372e81be3 (patch)
treeb5f7c42f8c6f05b16c58dc9505c64774cbd1d163 /nptl
parent3ddf9bc18587bf4d66b99666150bfc8d0f81fa32 (diff)
downloadglibc-494c3beec9d7ab151879a90586af648372e81be3.tar.gz
glibc-494c3beec9d7ab151879a90586af648372e81be3.tar.xz
glibc-494c3beec9d7ab151879a90586af648372e81be3.zip
nptl: Remove recv from libpthread
The libc version is identical and built with same flags.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile3
-rw-r--r--nptl/Versions1
2 files changed, 1 insertions, 3 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index f4413d3ddb..be0aae4a79 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 = \
-		      recv recvfrom send \
+		      recvfrom send \
 		      sendto fsync lseek lseek64 \
 		      msync open open64 pause \
 		      pread pread64 pwrite pwrite64 \
@@ -298,7 +298,6 @@ CFLAGS-tcdrain.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-open.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-open64.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-pause.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-send.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sendto.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables
diff --git a/nptl/Versions b/nptl/Versions
index 893b46a0af..ebc7a772eb 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -169,7 +169,6 @@ libpthread {
     pthread_sigmask;
     pthread_testcancel;
     raise;
-    recv;
     recvfrom;
     recvmsg;
     sem_destroy;