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:31:17 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-18 15:54:39 -0300
commit3ddf9bc18587bf4d66b99666150bfc8d0f81fa32 (patch)
tree4cab4db078356a60b22d1249120155f30e8e6a72 /nptl
parentc59f716993bb6011761b25e282094a54ba3c0d49 (diff)
downloadglibc-3ddf9bc18587bf4d66b99666150bfc8d0f81fa32.tar.gz
glibc-3ddf9bc18587bf4d66b99666150bfc8d0f81fa32.tar.xz
glibc-3ddf9bc18587bf4d66b99666150bfc8d0f81fa32.zip
nptl: Remove connect 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/Versions2
2 files changed, 1 insertions, 4 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index a292f6facc..f4413d3ddb 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 = \
-		      connect recv recvfrom send \
+		      recv recvfrom send \
 		      sendto fsync lseek lseek64 \
 		      msync open open64 pause \
 		      pread pread64 pwrite pwrite64 \
@@ -301,7 +301,6 @@ 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-connect.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables
diff --git a/nptl/Versions b/nptl/Versions
index b775b8cd36..893b46a0af 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -103,7 +103,6 @@ libpthread {
     _IO_flockfile;
     _IO_ftrylockfile;
     _IO_funlockfile;
-    __connect;
     __errno_location;
     __fcntl;
     __h_errno_location;
@@ -129,7 +128,6 @@ libpthread {
     _pthread_cleanup_pop_restore;
     _pthread_cleanup_push;
     _pthread_cleanup_push_defer;
-    connect;
     fcntl;
     flockfile;
     fsync;