about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-05 19:59:36 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-06 14:36:07 -0300
commit79a547b162657b3fa34d31917cc29f0e7af19e4c (patch)
treefe596690c3323410adab38a762a1cab1f8732705 /time
parent2a0356e1191804d57005e1cfe2a72f019b7a8cce (diff)
downloadglibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.tar.gz
glibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.tar.xz
glibc-79a547b162657b3fa34d31917cc29f0e7af19e4c.zip
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 'time')
-rw-r--r--time/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/time/Makefile b/time/Makefile
index 6de4e418d9..23630ae3fe 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -73,6 +73,7 @@ CFLAGS-tzfile.c += $(tz-cflags)
 CFLAGS-tzset.c += $(tz-cflags)
 CFLAGS-getdate.c += -fexceptions
 CFLAGS-clock_nanosleep.c += -fexceptions -fasynchronous-unwind-tables
+CFLAGS-nanosleep.c += -fexceptions -fasynchronous-unwind-tables
 
 # Don't warn about Y2k problem in strftime format string.
 CFLAGS-test_time.c += -Wno-format