about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorVincent Chen <vincentc@andestech.com>2019-07-08 15:56:43 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-07-08 15:57:01 -0300
commit97274b18463f29418e20d83ce9cc72ea06596a1c (patch)
tree689b061e375ff4d3c4042f563bf01a1daf91e6fe /sysdeps/unix
parent484b7af3ccb782ccb3491b541a68de9c5d6f063b (diff)
downloadglibc-97274b18463f29418e20d83ce9cc72ea06596a1c.tar.gz
glibc-97274b18463f29418e20d83ce9cc72ea06596a1c.tar.xz
glibc-97274b18463f29418e20d83ce9cc72ea06596a1c.zip
dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
	* sysdeps/unix/sysv/linux/dl-vdso.h: Add LINUX_4
	HASH code to support nds32 vdso mechanism.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix')
-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 c418c697a3..d83afe130e 100644
--- a/sysdeps/unix/sysv/linux/dl-vdso.h
+++ b/sysdeps/unix/sysv/linux/dl-vdso.h
@@ -46,6 +46,8 @@ prepare_version_base (const char *name, ElfW(Word) hash)
 #define VDSO_HASH_LINUX_2_6_29	123718585
 #define VDSO_NAME_LINUX_2_6_39	"LINUX_2.6.39"
 #define VDSO_HASH_LINUX_2_6_39	123718537
+#define VDSO_NAME_LINUX_4	"LINUX_4"
+#define VDSO_HASH_LINUX_4	14921332
 #define VDSO_NAME_LINUX_4_9	"LINUX_4.9"
 #define VDSO_HASH_LINUX_4_9	61765625
 #define VDSO_NAME_LINUX_4_15	"LINUX_4.15"