public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] s390: Fix Enable VDSO for static linking
@ 2019-08-06 14:07 Stefan Liebler
  0 siblings, 0 replies; only message in thread
From: Stefan Liebler @ 2019-08-06 14:07 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8d454abeb444db805fb504ecf256b6c2e3e25e04

commit 8d454abeb444db805fb504ecf256b6c2e3e25e04
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Tue Aug 6 15:49:08 2019 +0200

    s390: Fix Enable VDSO for static linking
    
    The commit 5e855c8954014bca7b0d6f07312ec09553695ffd
    "s390: Enable VDSO for static linking" removed the definition of VDSO_SETUP
    which leads to not setup the vdso symbols.
    Instead it jumps to false addresses.
    
    This patch just re adds the removed VDSO_SETUP macro definition.
    
    ChangeLog:
    
    	* sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.

Diff:
---
 ChangeLog                                 | 4 ++++
 sysdeps/unix/sysv/linux/s390/init-first.c | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e16a4a8..531fd18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-07-02  Stefan Liebler  <stli@linux.ibm.com>
+
+	* sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
+
 2019-08-05  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
diff --git a/sysdeps/unix/sysv/linux/s390/init-first.c b/sysdeps/unix/sysv/linux/s390/init-first.c
index 8c54d13..a1ad945 100644
--- a/sysdeps/unix/sysv/linux/s390/init-first.c
+++ b/sysdeps/unix/sysv/linux/s390/init-first.c
@@ -53,4 +53,6 @@ _libc_vdso_platform_setup (void)
   VDSO_SYMBOL (getcpu) = p;
 }
 
+#define VDSO_SETUP _libc_vdso_platform_setup
+
 #include <csu/init-first.c>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-06 14:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06 14:07 [glibc] s390: Fix Enable VDSO for static linking Stefan Liebler

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).