about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sparc/Versions
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-18 11:42:19 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-18 11:44:32 -0700
commit94a3a27f5df24a69420c80fb83f07c8cf7671938 (patch)
treeab6cabdcab811aad4f3635770c785f373014c9e9 /sysdeps/unix/sysv/linux/sparc/Versions
parent0a271c8f25a8342f7c36b999f4f7bad2d4067a8e (diff)
downloadglibc-94a3a27f5df24a69420c80fb83f07c8cf7671938.tar.gz
glibc-94a3a27f5df24a69420c80fb83f07c8cf7671938.tar.xz
glibc-94a3a27f5df24a69420c80fb83f07c8cf7671938.zip
Add VDSO support to sparc.
	* sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
	* sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
	sysdep_routines in subdir elf.
	* sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
	version for __vdso_clock_gettime.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
	Define.
	(HAVE_CLOCK_GETTIME_VSYSCALL): Define.
	(HAVE_GETTIMEOFDAY_VSYSCALL): Define.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/Versions')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/Versions4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/Versions b/sysdeps/unix/sysv/linux/sparc/Versions
index 4dc1cd720b..f056addee6 100644
--- a/sysdeps/unix/sysv/linux/sparc/Versions
+++ b/sysdeps/unix/sysv/linux/sparc/Versions
@@ -29,6 +29,10 @@ libc {
 
     __getshmlba;
   }
+  GLIBC_PRIVATE {
+    # nptl/pthread_cond_timedwait.c uses INTERNAL_VSYSCALL(clock_gettime).
+    __vdso_clock_gettime;
+  }
 }
 
 libpthread {