about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/dl-vdso.h
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 /sysdeps/unix/sysv/linux/dl-vdso.h
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-vdso.h')
-rw-r--r--sysdeps/unix/sysv/linux/dl-vdso.h2
1 files changed, 2 insertions, 0 deletions
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,