mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 22:00:08 +00:00
As with gettimeofday, avoid vdso for clang-compiled time()
This commit is contained in:
parent
491d419cdd
commit
d41bed3ce0
@ -18,7 +18,8 @@
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#ifdef SHARED
|
||||
/* Clang ifunc support works, but differently enough that this code breaks. */
|
||||
#if defined(SHARED) && !defined(__clang__)
|
||||
|
||||
#include <dl-vdso.h>
|
||||
#include <errno.h>
|
||||
@ -57,3 +58,5 @@ time (time_t *t)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
libc_hidden_weak (time)
|
||||
|
Loading…
Reference in New Issue
Block a user