public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
@ 2019-06-29 13:46 Vincent Chen
  2019-07-01 12:03 ` Adhemerval Zanella
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Chen @ 2019-06-29 13:46 UTC (permalink / raw)
  To: libc-alpha; +Cc: deanbo422, Vincent Chen

---
 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.
 
+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"
-- 
1.9.5

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
  2019-06-29 13:46 [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism Vincent Chen
@ 2019-07-01 12:03 ` Adhemerval Zanella
  0 siblings, 0 replies; 6+ messages in thread
From: Adhemerval Zanella @ 2019-07-01 12:03 UTC (permalink / raw)
  To: libc-alpha



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"
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
  2019-07-08 19:07 ` Adhemerval Zanella
@ 2019-07-09  7:38   ` Vincent Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Vincent Chen @ 2019-07-09  7:38 UTC (permalink / raw)
  To: Adhemerval Zanella; +Cc: libc-alpha, deanbo422

On Mon, Jul 08, 2019 at 04:07:08PM -0300, Adhemerval Zanella wrote:
> 
> 
> On 01/07/2019 12:19, Vincent Chen wrote:
> >>> 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.
> >>
> > Dear Adhemerval Zanella:
> > 
> > Please help me to commit this patch.
> > Thank you very much for your kind support.
> > 
> > Best regards,
> > Vincent
> > 
> 
> I pushed this upstream. Keep in mind I am refactoring the vDSO
> code to simplify it, so all the linux version and hash will need
> to be defined in the kernel-features.h for each architecture.

OK, I got it. Thanks for your help.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
  2019-07-01 15:19 Vincent Chen
@ 2019-07-08 19:07 ` Adhemerval Zanella
  2019-07-09  7:38   ` Vincent Chen
  0 siblings, 1 reply; 6+ messages in thread
From: Adhemerval Zanella @ 2019-07-08 19:07 UTC (permalink / raw)
  To: Vincent Chen, libc-alpha; +Cc: deanbo422



On 01/07/2019 12:19, Vincent Chen wrote:
>>> 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.
>>
> Dear Adhemerval Zanella:
> 
> Please help me to commit this patch.
> Thank you very much for your kind support.
> 
> Best regards,
> Vincent
> 

I pushed this upstream. Keep in mind I am refactoring the vDSO
code to simplify it, so all the linux version and hash will need
to be defined in the kernel-features.h for each architecture. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
@ 2019-07-01 15:19 Vincent Chen
  2019-07-08 19:07 ` Adhemerval Zanella
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Chen @ 2019-07-01 15:19 UTC (permalink / raw)
  To: Adhemerval Zanella, libc-alpha; +Cc: deanbo422

>>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.
>
Dear Adhemerval Zanella:

Please help me to commit this patch.
Thank you very much for your kind support.

Best regards,
Vincent

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism
@ 2019-07-01 14:45 Vincent Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Vincent Chen @ 2019-07-01 14:45 UTC (permalink / raw)
  To: Adhemerval Zanella, libc-alpha; +Cc: deabo422

>>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.
>
Dear Adhemerval Zanella:

Please help me to commit this patch.
Thank you very much for your kind support.

Best regards,
Vincent

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-09  7:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-29 13:46 [PATCH] dl-vdso: Add LINUX_4 HASH CODE to support nds32 vdso mechanism Vincent Chen
2019-07-01 12:03 ` Adhemerval Zanella
2019-07-01 14:45 Vincent Chen
2019-07-01 15:19 Vincent Chen
2019-07-08 19:07 ` Adhemerval Zanella
2019-07-09  7:38   ` Vincent Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).