From: Adhemerval Zanella Date: Thu, 18 Mar 2021 20:52:09 +0000 (-0300) Subject: support: Use syscall function instead of INLINE_SYSCALL_CALL X-Git-Tag: glibc-2.34~803 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48593b505bca953901452cfd2fe117c9f4068a2b;p=thirdparty%2Fglibc.git 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. --- diff --git a/support/support_path_support_time64.c b/support/support_path_support_time64.c index 74af7d4973f..452fedcde52 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