mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Fix handling of __vdso_clock_gettime
This commit is contained in:
parent
a0e1f41bd4
commit
fc8bffcccf
@ -1,5 +1,8 @@
|
||||
2011-09-06 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
|
||||
Forgot to demangle the pointer.
|
||||
|
||||
* sysdeps/i386/sysdep.h: Define atom_text_section.
|
||||
* sysdeps/x86_64/sysdep.h: Likewise.
|
||||
* sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
|
||||
|
@ -2,9 +2,13 @@
|
||||
|
||||
#ifdef SHARED
|
||||
# define SYSCALL_GETTIME(id, tp) \
|
||||
(*__vdso_clock_gettime) (id, tp)
|
||||
({ long int (*f) (clockid_t, struct timespec *) = __vdso_clock_gettime; \
|
||||
PTR_DEMANGLE (f); \
|
||||
f (id, tp); })
|
||||
# define INTERNAL_GETTIME(id, tp) \
|
||||
(*__vdso_clock_gettime) (id, tp)
|
||||
({ long int (*f) (clockid_t, struct timespec *) = __vdso_clock_gettime; \
|
||||
PTR_DEMANGLE (f); \
|
||||
f (id, tp); })
|
||||
#endif
|
||||
|
||||
#include "../clock_gettime.c"
|
||||
|
Loading…
Reference in New Issue
Block a user