aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-13 11:02:13 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-19 16:11:09 -0300
commitc97f9a5979e6c8dd4d005a01e5b1254ae4007362 (patch)
tree024a20443f112825acdb038a7c0da1b5aa5a4f33 /nptl
parent478f70780f28a270205ddbe8cb6ec29cb41d586e (diff)
downloadglibc-c97f9a5979e6c8dd4d005a01e5b1254ae4007362.zip
glibc-c97f9a5979e6c8dd4d005a01e5b1254ae4007362.tar.gz
glibc-c97f9a5979e6c8dd4d005a01e5b1254ae4007362.tar.bz2
nptl: Move wait implementation to libc
Checked on x86_64-linux-gnu and powerpc64le-linux-gnu.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile3
-rw-r--r--nptl/Versions2
2 files changed, 2 insertions, 3 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index fffd946..721030c 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -47,7 +47,7 @@ pthread-compat-wrappers = \
sendto fsync lseek lseek64 \
msync open open64 pause \
pread pread64 pwrite pwrite64 \
- tcdrain wait waitpid msgrcv msgsnd \
+ tcdrain waitpid msgrcv msgsnd \
sigwait sigsuspend \
recvmsg sendmsg
@@ -206,7 +206,6 @@ CFLAGS-pread.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pread64.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pwrite.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pwrite64.c += -fexceptions -fasynchronous-unwind-tables
-CFLAGS-wait.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-waitpid.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-msgrcv.c += -fexceptions -fasynchronous-unwind-tables
diff --git a/nptl/Versions b/nptl/Versions
index 5d6aedb..1dda4b9 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -99,7 +99,7 @@ libpthread {
close; __close; fcntl; __fcntl; read; __read; write; __write; accept;
connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto;
fsync; lseek; __lseek; msync; open; __open; pause; tcdrain;
- system; wait; __wait; waitpid;
+ system; waitpid;
# Hidden entry point (through macros).
_pthread_cleanup_push; _pthread_cleanup_pop;