aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-12 16:26:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-18 15:54:24 -0300
commitbdfed2e2cd166536d03a247925f6df3800ec4acc (patch)
tree04757597d5fcf1140e168e27ac30eecb7381d35c /nptl
parentbaab50cfb9b7e31e18f1ecfb463c1908454ce81d (diff)
downloadglibc-bdfed2e2cd166536d03a247925f6df3800ec4acc.zip
glibc-bdfed2e2cd166536d03a247925f6df3800ec4acc.tar.gz
glibc-bdfed2e2cd166536d03a247925f6df3800ec4acc.tar.bz2
nptl: Remove close 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 64bbe12..c33f29b 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 = \
- close accept \
+ accept \
connect recv recvfrom send \
sendto fsync lseek lseek64 \
msync open open64 pause \
@@ -307,7 +307,6 @@ 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
-CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-msync.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables
diff --git a/nptl/Versions b/nptl/Versions
index add7916..1422c21 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -103,7 +103,6 @@ libpthread {
_IO_flockfile;
_IO_ftrylockfile;
_IO_funlockfile;
- __close;
__connect;
__errno_location;
__fcntl;
@@ -131,7 +130,6 @@ libpthread {
_pthread_cleanup_push;
_pthread_cleanup_push_defer;
accept;
- close;
connect;
fcntl;
flockfile;