Skip to content

Commit

Permalink
s390: Fix Enable VDSO for static linking
Browse files Browse the repository at this point in the history
The commit 5e855c8
"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.
  • Loading branch information
stliibm committed Aug 6, 2019
1 parent 9801384 commit 8d454ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2019-07-02 Stefan Liebler <[email protected]>

* sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.

2019-08-05 Joseph Myers <[email protected]>

* sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
Expand Down
2 changes: 2 additions & 0 deletions sysdeps/unix/sysv/linux/s390/init-first.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 8d454ab

Please sign in to comment.