]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
s390: Fix Enable VDSO for static linking
authorStefan Liebler <stli@linux.ibm.com>
Tue, 6 Aug 2019 13:49:08 +0000 (15:49 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 6 Aug 2019 13:49:08 +0000 (15:49 +0200)
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.

ChangeLog
sysdeps/unix/sysv/linux/s390/init-first.c

index e16a4a8e418a10a1b55a5623316699aaed2b1658..531fd18bbe29cc947c901b7e6168e8e424a43426 100644 (file)
--- 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):
index 8c54d13935e54b5d0360ad5e943390df8626d01a..a1ad9458e35e4bbfb3a0ba02cbce2c211a1fe2c8 100644 (file)
@@ -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>