From 8d454abeb444db805fb504ecf256b6c2e3e25e04 Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Tue, 6 Aug 2019 15:49:08 +0200 Subject: [PATCH] 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. --- 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 + + * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define. + 2019-08-05 Joseph Myers * 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 -- 2.7.4