From 3ddf9bc18587bf4d66b99666150bfc8d0f81fa32 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 12 Mar 2021 16:31:17 -0300 Subject: nptl: Remove connect from libpthread The libc version is identical and built with same flags. Checked on x86_64-linux-gnu. --- nptl/Makefile | 3 +-- nptl/Versions | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'nptl') 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; -- cgit 1.4.1