]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
TODO(uapi): aarch64: morello: use non-ifunc gettimeofday
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 17 Mar 2022 10:09:46 +0000 (10:09 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 27 Oct 2022 13:46:51 +0000 (14:46 +0100)
TODO: Remove this once morello has vdso gettimeofday.

sysdeps/unix/sysv/linux/aarch64/gettimeofday.c

index ad421f4b058e8ad1ecf40d68c69aad62c876f6a2..c24fd8306700a4cec614c4395855a3a73626433f 100644 (file)
@@ -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>