diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-05 19:59:36 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-11-06 14:36:07 -0300 |
commit | 79a547b162657b3fa34d31917cc29f0e7af19e4c (patch) | |
tree | fe596690c3323410adab38a762a1cab1f8732705 /nptl/Versions | |
parent | 2a0356e1191804d57005e1cfe2a72f019b7a8cce (diff) | |
download | glibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.zip glibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.tar.gz glibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.tar.bz2 |
nptl: Move nanosleep implementation to libc
Checked on x86_64-linux-gnu and powerpc64le-linux-gnu. I also checked
the libpthread.so .gnu.version_d entries for every ABI affected and
all of them contains the required versions (including for architectures
which exports __nanosleep with a different version).
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'nptl/Versions')
-rw-r--r-- | nptl/Versions | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nptl/Versions b/nptl/Versions index adbd4fa..5d6aedb 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -98,7 +98,7 @@ libpthread { # Cancellation points. close; __close; fcntl; __fcntl; read; __read; write; __write; accept; connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto; - fsync; lseek; __lseek; msync; nanosleep; open; __open; pause; tcdrain; + fsync; lseek; __lseek; msync; open; __open; pause; tcdrain; system; wait; __wait; waitpid; # Hidden entry point (through macros). @@ -193,8 +193,7 @@ libpthread { } GLIBC_2.2.6 { - # Cancellation wrapper - __nanosleep; + __libpthread_version_placeholder; } GLIBC_2.3.2 { |