summary refs log tree commit diff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-12-26 20:52:42 -0800
committerPalmer Dabbelt <palmer@dabbelt.com>2018-01-06 23:35:56 -0800
commit150bbac18bf0af28954bd505793de60f61918b07 (patch)
tree2bdac20859ce29c5944065040fd82bcd741a9120
parent005055325176500f03fbd64f122bc4de64719c46 (diff)
downloadglibc-150bbac18bf0af28954bd505793de60f61918b07.tar.gz
glibc-150bbac18bf0af28954bd505793de60f61918b07.tar.xz
glibc-150bbac18bf0af28954bd505793de60f61918b07.zip
Add linux-4.15 VDSO hash for RISC-V
The RISC-V Linux port defines VDSO symbols

2018-01-06  Palmer Dabbelt  <palmer@sifive.com>

       * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
       define.
       (VDSO_HASH_LINUX_4_15): Likewise.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/dl-vdso.h2
2 files changed, 5 insertions, 0 deletions
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  <samuel.thibault@ens-lyon.org>
 
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,