mirror of
https://sourceware.org/git/glibc.git
synced 2025-11-02 09:33:31 +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:
@@ -20,14 +20,10 @@
|
||||
#ifndef _LIBC_VDSO_H
|
||||
#define _LIBC_VDSO_H
|
||||
|
||||
#ifdef SHARED
|
||||
|
||||
# include <sysdep-vdso.h>
|
||||
#include <sysdep-vdso.h>
|
||||
|
||||
extern long int (*VDSO_SYMBOL(gettimeofday)) (struct timeval *, void *)
|
||||
attribute_hidden;
|
||||
extern long int (*VDSO_SYMBOL(clock_gettime)) (clockid_t, struct timespec *);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _LIBC_VDSO_H */
|
||||
|
||||
Reference in New Issue
Block a user