mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +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
@@ -16,9 +16,8 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifdef SHARED
|
||||
# include <dl-vdso.h>
|
||||
# include <libc-vdso.h>
|
||||
#include <dl-vdso.h>
|
||||
#include <libc-vdso.h>
|
||||
|
||||
int (*VDSO_SYMBOL(gettimeofday)) (struct timeval *, void *)
|
||||
attribute_hidden;
|
||||
@@ -79,7 +78,6 @@ _libc_vdso_platform_setup (void)
|
||||
#endif
|
||||
}
|
||||
|
||||
# define VDSO_SETUP _libc_vdso_platform_setup
|
||||
#endif
|
||||
#define VDSO_SETUP _libc_vdso_platform_setup
|
||||
|
||||
#include <csu/init-first.c>
|
||||
|
||||
Reference in New Issue
Block a user