mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Enable VDSO on powerpc statically linked programs (bug 19767)
[BZ #19767] * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED. * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef SHARED. Include sysdep.h. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define ALWAYS_USE_VSYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define ALWAYS_USE_VSYSCALL. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
This commit is contained in:
committed by
Tulio Magno Quites Machado Filho
parent
1e8bdc3a2b
commit
8ae74eadb6
@ -20,8 +20,7 @@
|
||||
#ifndef _LIBC_VDSO_H
|
||||
#define _LIBC_VDSO_H
|
||||
|
||||
#ifdef SHARED
|
||||
|
||||
#include <sysdep.h>
|
||||
#include <sysdep-vdso.h>
|
||||
|
||||
extern int (*VDSO_SYMBOL(gettimeofday)) (struct timeval *, void *)
|
||||
@ -69,6 +68,4 @@ extern void *VDSO_SYMBOL(sigtramp_rt32);
|
||||
#define VDSO_IFUNC_RET(value) ((void *) (value))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _LIBC_VDSO_H */
|
||||
|
Reference in New Issue
Block a user