glibc/sysdeps/unix/sysv/linux/aarch64
Steve Ellcey 3c7b9f1fc3 aarch64: Use an ifunc/VDSO to implement gettimeofday in shared glibc.
This patch uses an ifunc to implement gettimeofday in the shared libc.
This is faster compared to the vsyscall mechanism that has to check a
global pointer, demangle it and call it indirectly when the VDSO is
present. Resolving the gettimeofday symbol directly to the VDSO code
is safe because there are no failures that the libc has to handle by
setting errno like in a generic vsyscall (the only failure when the
VDSO code falls back to a syscall is EFAULT, but passing an invalid
pointer is undefined behaviour so returning -EFAULT is fine).

If the kernel supports the VDSO interface we use it for extern calls,
otherwise the old vsyscall method is used which falls back to a syscall.
The static version of gettimeofday continues to use a syscall, libc.so
internal calls use the old vsyscall method.

	* sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
2018-06-14 13:56:57 +01:00
..
bits Add AArch64 hwcap values from Linux 4.17. 2018-06-05 15:51:12 +00:00
sys Add PTRACE_SECCOMP_GET_METADATA from Linux 4.16 to sys/ptrace.h. 2018-04-24 12:11:35 +00:00
Implies
Makefile
Versions
__read_tp.S
c++-types.data
clone.S
configure
configure.ac
cpu-features.c aarch64: add HXT Phecda core memory operation ifuncs 2018-06-12 21:29:11 +05:30
cpu-features.h aarch64: add HXT Phecda core memory operation ifuncs 2018-06-12 21:29:11 +05:30
dl-cache.h
dl-procinfo.c Add AArch64 hwcap values from Linux 4.17. 2018-06-05 15:51:12 +00:00
dl-procinfo.h
dl-static.c
getcontext.S
gettimeofday.c aarch64: Use an ifunc/VDSO to implement gettimeofday in shared glibc. 2018-06-14 13:56:57 +01:00
init-first.c
ioctl.S
ipc_priv.h
jmp_buf-macros.h
kernel-features.h
kernel_rt_sigframe.h
ld.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
ldconfig.h
ldsodefs.h Remove tilegx port. 2018-04-27 19:11:24 +00:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libc-__read_tp.S
libc-start.c
libc-vdso.h
libc.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
librt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
localplt.data
makecontext.c
profil-counter.h
pt-vfork.c
readelflib.c
setcontext.S
shlib-versions
sigaction.c linux: Consolidate sigaction implementation 2018-04-05 17:09:50 -03:00
sigcontextinfo.h
swapcontext.S
syscall.S
sysconf.c
sysdep.c
sysdep.h
ucontext-internal.h
ucontext_i.sym
vfork.S