mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
Let time and gettimeofday use vdso by removing old clang workaround
This commit is contained in:
parent
e62db8fce4
commit
d548adb4ef
@ -18,8 +18,7 @@
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
/* Clang ifunc support works, but differently enough that this code breaks. */
|
||||
#if defined(SHARED) && !defined(__clang__)
|
||||
#ifdef SHARED
|
||||
|
||||
# include <dl-vdso.h>
|
||||
# include <errno.h>
|
||||
|
@ -18,8 +18,7 @@
|
||||
|
||||
#include <time.h>
|
||||
|
||||
/* Clang ifunc support works, but differently enough that this code breaks. */
|
||||
#if defined(SHARED) && !defined(__clang__)
|
||||
#ifdef SHARED
|
||||
|
||||
#include <dl-vdso.h>
|
||||
#include <errno.h>
|
||||
@ -58,7 +57,3 @@ time (time_t *t)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
libc_hidden_weak (time)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user