clarify the purpose of this project
[nyanglibc.git] / misc / hsearch.s
blob294770e2fab5edbe914323fb44cac4476f9112d0
1 .text
2 .p2align 4,,15
3 .globl __hdestroy
4 .type __hdestroy, @function
5 __hdestroy:
6 leaq htab(%rip), %rdi
7 jmp __hdestroy_r
8 .size __hdestroy, .-__hdestroy
9 .weak hdestroy
10 .set hdestroy,__hdestroy
11 .p2align 4,,15
12 .globl hsearch
13 .type hsearch, @function
14 hsearch:
15 subq $24, %rsp
16 leaq htab(%rip), %r8
17 leaq 8(%rsp), %rcx
18 call __hsearch_r
19 movq 8(%rsp), %rax
20 addq $24, %rsp
21 ret
22 .size hsearch, .-hsearch
23 .p2align 4,,15
24 .globl hcreate
25 .type hcreate, @function
26 hcreate:
27 leaq htab(%rip), %rsi
28 jmp __hcreate_r
29 .size hcreate, .-hcreate
30 .section __libc_subfreeres,"aw",@progbits
31 .align 8
32 .type __elf_set___libc_subfreeres_element___hdestroy__, @object
33 .size __elf_set___libc_subfreeres_element___hdestroy__, 8
34 __elf_set___libc_subfreeres_element___hdestroy__:
35 .quad __hdestroy
36 .local htab
37 .comm htab,16,16
38 .hidden __hcreate_r
39 .hidden __hsearch_r
40 .hidden __hdestroy_r