summaryrefslogtreecommitdiff
blob: eb9a492e151bdef999935f0c63b4b219ad31c3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: glibc-2.17/sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
===================================================================
--- glibc-2.17.orig/sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
+++ glibc-2.17/sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
@@ -28,11 +28,7 @@ void *gettimeofday_ifunc (void) __asm__
 void *
 gettimeofday_ifunc (void)
 {
-  PREPARE_VERSION (linux26, "LINUX_2.6", 61765110);
-
-  /* If the vDSO is not available we fall back on the old vsyscall.  */
-  return (_dl_vdso_vsym ("__vdso_gettimeofday", &linux26)
-	  ?: (void *) VSYSCALL_ADDR_vgettimeofday);
+  return (void *) VSYSCALL_ADDR_vgettimeofday;
 }
 asm (".type __gettimeofday, %gnu_indirect_function");