summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-02-22 15:50:51 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-22 19:50:13 +0100
commit852836ae660ff92cc7c750b4c39c78d161fb10b5 (patch)
tree98247d9094a7e2c40cd3e007c82d2ec4fd375923 /extra
parent8ea0140d5ffd2dc4ec0e36de71b67e6c1955f3cb (diff)
xtensa: Add time64 support.
- xtensa is the second architecture that supports time64 inside uClibc-ng. - Linux Kernel always uses 32bit time variables inside `stat` structures, so there is a need to use `st_atime`, `st_mtime` and `st_ctime` structures with the same 32bit-wide `tv_sec` and `tv_nsec` variables even if time64 is enabled. Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 831b9f689..9351dffc8 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1026,7 +1026,7 @@ config UCLIBC_FALLBACK_TO_ETC_LOCALTIME
config UCLIBC_USE_TIME64
bool "Use *time64 syscalls instead of 32bit ones (if possible)"
- depends on TARGET_arm
+ depends on TARGET_arm || TARGET_xtensa
# TODO: add support for other architectures
default n