Consolidate gettimeofday across aarch64/s390/tile
commit97554e4382e5d85eccf146b58f85aaad7e3d687c
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>
Fri, 17 Apr 2015 14:48:51 +0000 (17 11:48 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 26 May 2015 20:03:35 +0000 (26 17:03 -0300)
treeb28561af0c0193d8877dd3ca19e277e5c80b4c4b
parent6afb9c0175006c8060928537842364f83df6fc15
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.
ChangeLog
sysdeps/unix/sysv/linux/aarch64/init-first.c
sysdeps/unix/sysv/linux/aarch64/sysdep.h
sysdeps/unix/sysv/linux/gettimeofday.c [moved from sysdeps/unix/sysv/linux/aarch64/gettimeofday.c with 86% similarity]
sysdeps/unix/sysv/linux/powerpc/init-first.c
sysdeps/unix/sysv/linux/s390/gettimeofday.c [deleted file]
sysdeps/unix/sysv/linux/s390/init-first.c
sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
sysdeps/unix/sysv/linux/tile/gettimeofday.c [deleted file]
sysdeps/unix/sysv/linux/tile/sysdep.h