Patchwork dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism

login
register
mail settings
Submitter Vincent Chen
Date June 29, 2019, 1:46 p.m.
Message ID <1561815963-9241-1-git-send-email-vincentc@andestech.com>
Download mbox | patch
Permalink /patch/33478/
State New
Headers show

Comments

Vincent Chen - June 29, 2019, 1:46 p.m.
---
 ChangeLog                         | 5 +++++
 sysdeps/unix/sysv/linux/dl-vdso.h | 2 ++
 2 files changed, 7 insertions(+)
Adhemerval Zanella Netto - July 1, 2019, 12:02 p.m.
On 29/06/2019 10:46, Vincent Chen wrote:
> ---
>  ChangeLog                         | 5 +++++
>  sysdeps/unix/sysv/linux/dl-vdso.h | 2 ++
>  2 files changed, 7 insertions(+)
> 
> diff --git a/ChangeLog b/ChangeLog
> index cbac0c4..43060fe 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -106,6 +106,11 @@
>  	* sysdeps/unix/sysv/linux/nds32/ucontext_i.sym: Likewise.
>  	* sysdeps/unix/sysv/linux/nds32/vfork.S: Likewise.

LGTM, thanks. I can commit it for you if you currently don't have commit
access.

>  
> +2019-06-29  Vincent Chen  <vincentc@andestech.com>
> +
> +	* sysdeps/unix/sysv/linux/dl-vdso.h: Add LINUX_4
> +	HASH code to support nds32 vdso mechanism.
> +
>  2019-06-28  Wilco Dijkstra  <wdijkstr@arm.com>
>  
>  	* benchtests/bench-math-inlines.c: Increase iterations.
> diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h
> index c418c69..d83afe1 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"
>

Patch

diff --git a/ChangeLog b/ChangeLog
index cbac0c4..43060fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -106,6 +106,11 @@ 
 	* sysdeps/unix/sysv/linux/nds32/ucontext_i.sym: Likewise.
 	* sysdeps/unix/sysv/linux/nds32/vfork.S: Likewise.
 
+2019-06-29  Vincent Chen  <vincentc@andestech.com>
+
+	* sysdeps/unix/sysv/linux/dl-vdso.h: Add LINUX_4
+	HASH code to support nds32 vdso mechanism.
+
 2019-06-28  Wilco Dijkstra  <wdijkstr@arm.com>
 
 	* benchtests/bench-math-inlines.c: Increase iterations.
diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h
index c418c69..d83afe1 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"