about summary refs log tree commit diff
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-10-27 14:46:51 +0100
commit3f543eb41fa26df65f8fa1a1b37cff33c60c2705 (patch)
tree1d781d2788a5796cf5b22472b69983d94b2e23ae /sysdeps
parent78b3462349791d408a860bcfd0e2cda951e88241 (diff)
downloadglibc-3f543eb41fa26df65f8fa1a1b37cff33c60c2705.tar.gz
glibc-3f543eb41fa26df65f8fa1a1b37cff33c60c2705.tar.xz
glibc-3f543eb41fa26df65f8fa1a1b37cff33c60c2705.zip
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 ad421f4b05..c24fd83067 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>