[COMMITTED] support: Use syscall function instead of INLINE_SYSCALL_CALL

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Mar 18 20:53:47 GMT 2021


It fixes the build on ARM in thumb mode that requires an out of the
line helper (__libc_do_syscall) to issue the syscall.
---
 support/support_path_support_time64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/support_path_support_time64.c b/support/support_path_support_time64.c
index 74af7d4973..452fedcde5 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
 
-- 
2.25.1



More information about the Libc-alpha mailing list