diff options
author | Rafael Ávila de Espíndola <rafael@espindo.la> | 2018-11-27 12:27:39 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-11-27 12:27:39 +0000 |
commit | 979cfed05d0ee5a9d81d310ea1eb2d590739e36b (patch) | |
tree | 2c6c4a5824882495057ee269607aa6869ae29343 /sysdeps/unix/sysv/linux/aarch64/libc-vdso.h | |
parent | ce035c6e909ad20ef2fe13c92eab4e69f6495b61 (diff) | |
download | glibc-979cfed05d0ee5a9d81d310ea1eb2d590739e36b.tar.gz glibc-979cfed05d0ee5a9d81d310ea1eb2d590739e36b.tar.xz glibc-979cfed05d0ee5a9d81d310ea1eb2d590739e36b.zip |
Enable VDSO for static linking on aarch64
[BZ #19767] * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED. * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED. * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL): Define.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/libc-vdso.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/libc-vdso.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/libc-vdso.h b/sysdeps/unix/sysv/linux/aarch64/libc-vdso.h index 65b2228662..c646633ae0 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libc-vdso.h +++ b/sysdeps/unix/sysv/linux/aarch64/libc-vdso.h @@ -19,15 +19,12 @@ #ifndef _LIBC_VDSO_H #define _LIBC_VDSO_H -#ifdef SHARED - -# include <sysdep-vdso.h> +#include <sysdep.h> +#include <sysdep-vdso.h> extern int (*VDSO_SYMBOL(gettimeofday)) (struct timeval *, void *) attribute_hidden; extern int (*VDSO_SYMBOL(clock_gettime)) (clockid_t, struct timespec *); extern int (*VDSO_SYMBOL(clock_getres)) (clockid_t, struct timespec *); -#endif - #endif /* _LIBC_VDSO_H */ |