about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/aarch64/init-first.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>2015-04-17 11:48:51 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-05-26 17:03:35 -0300
commit97554e4382e5d85eccf146b58f85aaad7e3d687c (patch)
treeb28561af0c0193d8877dd3ca19e277e5c80b4c4b /sysdeps/unix/sysv/linux/aarch64/init-first.c
parent6afb9c0175006c8060928537842364f83df6fc15 (diff)
downloadglibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.tar.gz
glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.tar.xz
glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.zip
Consolidate gettimeofday across aarch64/s390/tile
This patch removes the architecture specific gettimeofday implementation
to use the vDSO symbol and consolidate it on a common Linux one.
Similar to clock_gettime and clock_getres vDSO implementation, each port
that supports gettimeofday through vDSO should just implement INLINE_VSYSCALL
to access the symbol and define HAVE_{GETTIME,GETRES}_VSYSCAL as 1.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/init-first.c')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/init-first.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/init-first.c b/sysdeps/unix/sysv/linux/aarch64/init-first.c
index 854189a793..9cf6c258c4 100644
--- a/sysdeps/unix/sysv/linux/aarch64/init-first.c
+++ b/sysdeps/unix/sysv/linux/aarch64/init-first.c
@@ -18,9 +18,6 @@
 
 #ifdef SHARED
 # include <dl-vdso.h>
-# undef __gettimeofday
-# undef __clock_gettime
-# undef __clock_getres
 # include <libc-vdso.h>
 
 int (*VDSO_SYMBOL(gettimeofday)) (struct timeval *, void *) attribute_hidden;