diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2012-03-05 19:45:53 +0100 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2012-03-05 19:45:53 +0100 |
commit | 8542dee32588c0a93828eafe12ee857e43cf8e73 (patch) | |
tree | eb6a781807c42ce8e90ce744526dc58ef374908d /sysdeps/unix/sysv/linux/x86_64/init-first.c | |
parent | ed58a00f9b76d18a6917eaf08585648182f104f7 (diff) | |
download | glibc-8542dee32588c0a93828eafe12ee857e43cf8e73.tar.gz glibc-8542dee32588c0a93828eafe12ee857e43cf8e73.tar.xz glibc-8542dee32588c0a93828eafe12ee857e43cf8e73.zip |
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
Replace gettimeofday with __vdso_gettimeofday. * sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with __vdso_clock_gettime and __vdso_getcpu. * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace time with __vdso_time.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/init-first.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/init-first.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/init-first.c b/sysdeps/unix/sysv/linux/x86_64/init-first.c index 0a9948b3fe..e8b52eacb0 100644 --- a/sysdeps/unix/sysv/linux/x86_64/init-first.c +++ b/sysdeps/unix/sysv/linux/x86_64/init-first.c @@ -36,13 +36,13 @@ _libc_vdso_platform_setup (void) { PREPARE_VERSION (linux26, "LINUX_2.6", 61765110); - void *p = _dl_vdso_vsym ("clock_gettime", &linux26); + void *p = _dl_vdso_vsym ("__vdso_clock_gettime", &linux26); if (p == NULL) p = __syscall_clock_gettime; PTR_MANGLE (p); __GI___vdso_clock_gettime = p; - p = _dl_vdso_vsym ("getcpu", &linux26); + p = _dl_vdso_vsym ("__vdso_getcpu", &linux26); /* If the vDSO is not available we fall back on the old vsyscall. */ #define VSYSCALL_ADDR_vgetcpu 0xffffffffff600800 if (p == NULL) |