clarify the purpose of this project
[nyanglibc.git] / time / settimezone.shared.s
blob117d64ed99cd885199499ac3d5c90a3da5ed4f01
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 __settimezone
9 .hidden __settimezone
10 .type __settimezone, @function
11 __settimezone:
12 movq %rdi, %rsi
13 movl $164, %eax
14 xorl %edi, %edi
15 #APP
16 # 32 "../sysdeps/unix/sysv/linux/settimezone.c" 1
17 syscall
19 # 0 "" 2
20 #NO_APP
21 cmpq $-4096, %rax
22 ja .L5
23 rep ret
24 .p2align 4,,10
25 .p2align 3
26 .L5:
27 movq __libc_errno@gottpoff(%rip), %rdx
28 negl %eax
29 movl %eax, %fs:(%rdx)
30 movl $-1, %eax
31 ret
32 .size __settimezone, .-__settimezone