summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-06-03 10:32:14 +0100
committerRich Felker <dalias@aerifal.cx>2015-06-14 04:23:20 +0000
commitee59c296d56bf26f49f354d6eb32b4b6d4190188 (patch)
tree544f1e2102f701ebf19bb02670fb2113e23260e8 /arch
parente3bc22f1eff87b8f029a6ab31f1a269d69e4b053 (diff)
downloadmusl-ee59c296d56bf26f49f354d6eb32b4b6d4190188.tar.gz
musl-ee59c296d56bf26f49f354d6eb32b4b6d4190188.tar.bz2
musl-ee59c296d56bf26f49f354d6eb32b4b6d4190188.tar.xz
musl-ee59c296d56bf26f49f354d6eb32b4b6d4190188.zip
arm: add vdso support
vdso will be available on arm in linux v4.2, the user-space code for it is in kernel commit 8512287a8165592466cb9cb347ba94892e9c56a5
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/syscall_arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/syscall_arch.h b/arch/arm/syscall_arch.h
index 199ad2a6..64461ec8 100644
--- a/arch/arm/syscall_arch.h
+++ b/arch/arm/syscall_arch.h
@@ -72,3 +72,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
register long r5 __asm__("r5") = f;
__asm_syscall("r"(r7), "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4), "r"(r5));
}
+
+#define VDSO_USEFUL
+#define VDSO_CGT_SYM "__vdso_clock_gettime"
+#define VDSO_CGT_VER "LINUX_2.6"