aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-18 17:52:09 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-18 17:52:09 -0300
commit48593b505bca953901452cfd2fe117c9f4068a2b (patch)
tree35e910b0d515324ba803ebd19e12df6c23dccd44
parenta894053318f1ca246d13bb9efa65bd702df6b63e (diff)
downloadglibc-48593b505bca953901452cfd2fe117c9f4068a2b.zip
glibc-48593b505bca953901452cfd2fe117c9f4068a2b.tar.gz
glibc-48593b505bca953901452cfd2fe117c9f4068a2b.tar.bz2
support: Use syscall function instead of INLINE_SYSCALL_CALL
It fixes the build on ARM in thumb mode that requires an out of the line helper (__libc_do_syscall) to issue the syscall.
-rw-r--r--support/support_path_support_time64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/support_path_support_time64.c b/support/support_path_support_time64.c
index 74af7d4..452fedc 100644
--- a/support/support_path_support_time64.c
+++ b/support/support_path_support_time64.c
@@ -31,7 +31,7 @@ utimesat_call (const char *path, const struct __timespec64 tsp[2])
# ifndef __NR_utimensat_time64
# define __NR_utimensat_time64 __NR_utimensat
# endif
- return INLINE_SYSCALL_CALL (utimensat_time64, AT_FDCWD, path, &tsp[0], 0);
+ return syscall (__NR_utimensat_time64, AT_FDCWD, path, &tsp[0], 0);
}
#endif