Browse Source

s390: Fix Enable VDSO for static linking

The commit 5e855c8954
"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.
fw/bug25112
Stefan Liebler 7 years ago
parent
commit
8d454abeb4
  1. 4
      ChangeLog
  2. 2
      sysdeps/unix/sysv/linux/s390/init-first.c

4
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):

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

Loading…
Cancel
Save