[v3,03/19] Add linux-4.15 VDSO hash for RISC-V

Message ID 20171227060534.3998-4-palmer@dabbelt.com
State New, archived
Headers

Commit Message

Palmer Dabbelt Dec. 27, 2017, 6:05 a.m. UTC
  The RISC-V Linux port defines VDSO symbols
---
 sysdeps/unix/sysv/linux/dl-vdso.h | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Joseph Myers Jan. 1, 2018, 12:58 p.m. UTC | #1
OK, please commit with an appropriate ChangeLog entry.

See <https://sourceware.org/glibc/wiki/Committer%20checklist> for 
committer instructions.
  
Joseph Myers Jan. 5, 2018, 1:50 p.m. UTC | #2
Reminder: there are some approved patches that still need to be committed.  
That is, committed during the slush, not afterwards, if you still want 
this port in 2.27, so there's time to discover any unexpected effects on 
other architectures from those changes to architecture-independent files.

Of course, where there were comments from other people on those patches 
you first need to respond to those comments and possibly adapt the patches 
until there's a version on which consensus is reached.
  

Patch

diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h
index 7d51a33f802d..c72f307eea3b 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,