sparc: Enable VDSO for static linking

System Internals / glibc - Adhemerval Zanella [linaro.org] - 5 August 2019 19:38 EDT

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.

[BZ #19767]
- sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
- sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
- sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL): Define.

c9c1a413c0 sparc: Enable VDSO for static linking
ChangeLog | 6 ++++++
sysdeps/unix/sysv/linux/sparc/init-first.c | 8 +++-----
sysdeps/unix/sysv/linux/sparc/libc-vdso.h | 6 +-----
sysdeps/unix/sysv/linux/sparc/sysdep.h | 3 +++
4 files changed, 13 insertions(+), 10 deletions(-)

Upstream: sourceware.org


  • Share