clarify the purpose of this project
[nyanglibc.git] / dirent / rtld-rewinddir.shared.s
blob610c5d6838537f15c36b94013a570d46676b04ce
1 .text
2 .p2align 4,,15
3 .globl __rewinddir
4 .hidden __rewinddir
5 .type __rewinddir, @function
6 __rewinddir:
7 pushq %rbx
8 movq %rdi, %rbx
9 movl (%rdi), %edi
10 xorl %edx, %edx
11 xorl %esi, %esi
12 call __lseek
13 movq $0, 72(%rbx)
14 movq $0, 64(%rbx)
15 movq $0, 56(%rbx)
16 movl $0, 80(%rbx)
17 popq %rbx
18 ret
19 .size __rewinddir, .-__rewinddir
20 .weak rewinddir
21 .set rewinddir,__rewinddir
22 .hidden __lseek