1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

sparc: Enable VDSO for static linking

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.
This commit is contained in:
Adhemerval Zanella
2019-05-30 09:47:48 -03:00
parent 5e855c8954
commit c9c1a413c0
4 changed files with 13 additions and 10 deletions

View File

@ -19,6 +19,9 @@
#ifndef _LINUX_SPARC_SYSDEP_H
#define _LINUX_SPARC_SYSDEP_H 1
/* Always enable vsyscalls on sparc */
#define ALWAYS_USE_VSYSCALL 1
#include <sysdeps/unix/sysdep.h>
#include <sysdeps/unix/sysv/linux/sysdep.h>
#include <sysdeps/sparc/sysdep.h>