clarify the purpose of this project
[nyanglibc.git] / misc / clock_adjtime.shared.s
blobaff7966436254c7deca173c8410d059fa5b80b30
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __GI___clock_adjtime
9 .hidden __GI___clock_adjtime
10 .type __GI___clock_adjtime, @function
11 __GI___clock_adjtime:
12 movl $305, %eax
13 #APP
14 # 32 "../sysdeps/unix/sysv/linux/clock_adjtime.c" 1
15 syscall
17 # 0 "" 2
18 #NO_APP
19 cmpq $-4096, %rax
20 ja .L5
21 rep ret
22 .p2align 4,,10
23 .p2align 3
24 .L5:
25 movq __libc_errno@gottpoff(%rip), %rdx
26 negl %eax
27 movl %eax, %fs:(%rdx)
28 movl $-1, %eax
29 ret
30 .size __GI___clock_adjtime, .-__GI___clock_adjtime
31 .globl __clock_adjtime
32 .set __clock_adjtime,__GI___clock_adjtime
33 .globl clock_adjtime
34 .set clock_adjtime,__clock_adjtime