aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-03-17 10:09:46 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-08-05 19:45:19 +0100
commit822571c5b10a0f10950b0a095df82afe460aeb15 (patch)
tree8e4e78c37d2879f1bfc250cc069a19ace8dd08ea /sysdeps
parent9f92fe592bd8b6e3dc435d53467f1e1b133c4d37 (diff)
downloadglibc-822571c5b10a0f10950b0a095df82afe460aeb15.zip
glibc-822571c5b10a0f10950b0a095df82afe460aeb15.tar.gz
glibc-822571c5b10a0f10950b0a095df82afe460aeb15.tar.bz2
TODO(uapi): aarch64: morello: use non-ifunc gettimeofday
TODO: Remove this once morello has vdso gettimeofday.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/gettimeofday.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c b/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c
index ad421f4..c24fd83 100644
--- a/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c
+++ b/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c
@@ -16,5 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#define USE_IFUNC_GETTIMEOFDAY
+#ifndef __CHERI_PURE_CAPABILITY__
+# define USE_IFUNC_GETTIMEOFDAY
+#endif
#include <sysdeps/unix/sysv/linux/gettimeofday.c>