summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-03 15:01:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-03 15:02:46 +0100
commitab498a3c25db976ee84730226c8c78283f973ef0 (patch)
tree8bd6cd14af2b4eb9b11b49800b91025e69e3cf83
parentf6b96020a124d41a22d19bb77625d886d883f64b (diff)
superh: enable time64
-rw-r--r--extra/Configs/Config.in1
-rw-r--r--libc/sysdeps/linux/sh/bits/uClibc_arch_features.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 9eabc9a41..1fb0466fa 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1034,6 +1034,7 @@ config UCLIBC_USE_TIME64
TARGET_powerpc || \
TARGET_riscv32 || \
TARGET_sparc || \
+ TARGET_sh || \
TARGET_xtensa
# TODO: add support for other architectures
default n
diff --git a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
index 049c5ca1a..401bd45d6 100644
--- a/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/sh/bits/uClibc_arch_features.h
@@ -15,9 +15,6 @@
/* can your target use syscall6() for mmap ? */
#define __UCLIBC_MMAP_HAS_6_ARGS__
-/* does your target use statx */
-#undef __UCLIBC_HAVE_STATX__
-
/* does your target align 64bit values in register pairs ? (32bit arches only) */
#undef __UCLIBC_SYSCALL_ALIGN_64BIT__