d1973ca513
Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
21 lines
393 B
ArmAsm
21 lines
393 B
ArmAsm
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
#include <private/bionic_asm.h>
|
|
|
|
ENTRY(fsync)
|
|
stp x29, x30, [sp, #-16]!
|
|
mov x29, sp
|
|
str x8, [sp, #-16]!
|
|
|
|
mov x8, __NR_fsync
|
|
svc #0
|
|
|
|
ldr x8, [sp], #16
|
|
ldp x29, x30, [sp], #16
|
|
|
|
cmn x0, #(MAX_ERRNO + 1)
|
|
cneg x0, x0, hi
|
|
b.hi __set_errno
|
|
|
|
ret
|
|
END(fsync)
|