aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-12 17:08:00 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-26 13:36:17 -0300
commitc5c3588475eece698f965c4066c2e8e425027320 (patch)
treea6c002fd30c8b9b96bd4845615953a280138e786 /nptl
parent78d1724d53e23fcbbf4df832015aae269b98249c (diff)
downloadglibc-c5c3588475eece698f965c4066c2e8e425027320.zip
glibc-c5c3588475eece698f965c4066c2e8e425027320.tar.gz
glibc-c5c3588475eece698f965c4066c2e8e425027320.tar.bz2
nptl: Remove lseek from libpthread
The libc version is identical and built with same flags. The libc version is set as the default version. The libpthread compat symbol requires to mask it when building the loader object otherwise ld might complain about a missing versioned symbol (as for alpha). Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile1
-rw-r--r--nptl/Versions3
2 files changed, 0 insertions, 4 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 3cf48c3..6a38dc5 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -81,7 +81,6 @@ static-only-routines = pthread_atfork
# We need to provide certain routines for compatibility with existing
# binaries.
pthread-compat-wrappers = \
- lseek lseek64 \
open open64 \
pread pread64 pwrite pwrite64 \
msgrcv msgsnd \
diff --git a/nptl/Versions b/nptl/Versions
index 6e80568..7118403 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -105,7 +105,6 @@ libpthread {
_IO_funlockfile;
__errno_location;
__h_errno_location;
- __lseek;
__open;
__pthread_atfork;
__pthread_getspecific;
@@ -130,7 +129,6 @@ libpthread {
ftrylockfile;
funlockfile;
longjmp;
- lseek;
open;
pthread_atfork;
pthread_cancel;
@@ -231,7 +229,6 @@ libpthread {
__pthread_rwlock_wrlock;
__pwrite64;
__res_state;
- lseek64;
open64;
pread64;
pread;