Patchwork [3/4] Add linux-4.15 VDSO hash for RISC-V

login
register
mail settings
Submitter Palmer Dabbelt
Date Jan. 6, 2018, 7:32 a.m.
Message ID <20180106073231.20491-4-palmer@dabbelt.com>
Download mbox | patch
Permalink /patch/25248/
State New
Headers show

Comments

Palmer Dabbelt - Jan. 6, 2018, 7:32 a.m.
The RISC-V Linux port defines VDSO symbols
---
 ChangeLog                         | 3 +++
 sysdeps/unix/sysv/linux/dl-vdso.h | 2 ++
 2 files changed, 5 insertions(+)

Patch

diff --git a/ChangeLog b/ChangeLog
index aeab82520a1f..246d2326ab90 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  <samuel.thibault@ens-lyon.org>
 
diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h
index 913e4e027d74..7b668d0862e2 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,