clarify the purpose of this project
[nyanglibc.git] / login / setlogin.shared.s
blobdcdaaf87931bf94be659f6d8e27caca391fb7ead
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .section .gnu.glibc-stub.setlogin
7 .previous
8 .section .gnu.warning.setlogin
9 .previous
10 #NO_APP
11 .p2align 4,,15
12 .globl setlogin
13 .type setlogin, @function
14 setlogin:
15 movq __libc_errno@gottpoff(%rip), %rax
16 movl $38, %fs:(%rax)
17 movl $-1, %eax
18 ret
19 .size setlogin, .-setlogin
20 .section .gnu.warning.setlogin
21 #,"a",@progbits
22 .align 32
23 .type __evoke_link_warning_setlogin, @object
24 .size __evoke_link_warning_setlogin, 49
25 __evoke_link_warning_setlogin:
26 .string "setlogin is not implemented and will always fail"