clarify the purpose of this project
[nyanglibc.git] / nss / compat-lookup.shared.s
blob387efe07649c564310014dd99aa69a50c2c46a4d
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .symver __nss_passwd_lookup,__nss_passwd_lookup@GLIBC_2.2.5
7 .symver __nss_group_lookup,__nss_group_lookup@GLIBC_2.2.5
8 .symver __nss_hosts_lookup,__nss_hosts_lookup@GLIBC_2.2.5
9 .symver __nss_next,__nss_next@GLIBC_2.2.5
10 .symver __nss_database_lookup,__nss_database_lookup@GLIBC_2.2.5
11 #NO_APP
12 .section .text.compat,"ax",@progbits
13 .p2align 4,,15
14 .globl __nss_passwd_lookup
15 .type __nss_passwd_lookup, @function
16 __nss_passwd_lookup:
17 movq __libc_errno@gottpoff(%rip), %rax
18 movl $38, %fs:(%rax)
19 movl $-1, %eax
20 ret
21 .size __nss_passwd_lookup, .-__nss_passwd_lookup
22 .globl __nss_hosts_lookup
23 .set __nss_hosts_lookup,__nss_passwd_lookup
24 .globl __nss_group_lookup
25 .set __nss_group_lookup,__nss_passwd_lookup
26 .p2align 4,,15
27 .globl __nss_next
28 .type __nss_next, @function
29 __nss_next:
30 movl $-1, %eax
31 ret
32 .size __nss_next, .-__nss_next
33 .p2align 4,,15
34 .globl __nss_database_lookup
35 .type __nss_database_lookup, @function
36 __nss_database_lookup:
37 movq $0, (%rcx)
38 movl $-1, %eax
39 ret
40 .size __nss_database_lookup, .-__nss_database_lookup