OSDN Git Service

am f97d8713: Merge "Add cfi directives for arm64 assembler."
[android-x86/bionic.git] / libc / arch-arm64 / syscalls / clock_settime.S
1 /* Generated by gensyscalls.py. Do not edit. */
2
3 #include <private/bionic_asm.h>
4
5 ENTRY(clock_settime)
6     stp     x29, x30, [sp, #-16]!
7     .cfi_def_cfa_offset 16
8     .cfi_rel_offset x29, 0
9     .cfi_rel_offset x30, 8
10     mov     x29,  sp
11
12     mov     x8, __NR_clock_settime
13     svc     #0
14
15     ldp     x29, x30, [sp], #16
16     .cfi_def_cfa_offset 0
17     .cfi_restore x29
18     .cfi_restore x30
19
20     cmn     x0, #(MAX_ERRNO + 1)
21     cneg    x0, x0, hi
22     b.hi    __set_errno
23
24     ret
25 END(clock_settime)