From 150bbac18bf0af28954bd505793de60f61918b07 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 26 Dec 2017 20:52:42 -0800 Subject: [PATCH] Add linux-4.15 VDSO hash for RISC-V The RISC-V Linux port defines VDSO symbols 2018-01-06 Palmer Dabbelt * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New define. (VDSO_HASH_LINUX_4_15): Likewise. --- ChangeLog | 3 +++ sysdeps/unix/sysv/linux/dl-vdso.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6dc8a41fd6..bcee494f58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ (R_RISCV_TLS_TPREL64): Likewise. * Makerules (make-link-multidir): Make directories before linking into them. + * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New + define. + (VDSO_HASH_LINUX_4_15): Likewise. 2018-01-06 Samuel Thibault diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h index 913e4e027d..7b668d0862 100644 --- a/sysdeps/unix/sysv/linux/dl-vdso.h +++ b/sysdeps/unix/sysv/linux/dl-vdso.h @@ -44,6 +44,8 @@ #define VDSO_HASH_LINUX_2_6_15 123718565 #define VDSO_NAME_LINUX_2_6_29 "LINUX_2.6.29" #define VDSO_HASH_LINUX_2_6_29 123718585 +#define VDSO_NAME_LINUX_4_15 "LINUX_4.15" +#define VDSO_HASH_LINUX_4_15 182943605 /* Functions for resolving symbols in the VDSO link map. */ extern void *_dl_vdso_vsym (const char *name,