clarify the purpose of this project
[nyanglibc.git] / login / getpt.shared.s
blob227777498ea304e17788e7555c56c46efa8bcff9
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .section .rodata.str1.1,"aMS",@progbits,1
7 .LC0:
8 .string "/dev/ptmx"
9 #NO_APP
10 .text
11 .p2align 4,,15
12 .globl __posix_openpt
13 .type __posix_openpt, @function
14 __posix_openpt:
15 movl %edi, %esi
16 leaq .LC0(%rip), %rdi
17 xorl %eax, %eax
18 jmp __GI___open
19 .size __posix_openpt, .-__posix_openpt
20 .weak posix_openpt
21 .set posix_openpt,__posix_openpt
22 .p2align 4,,15
23 .globl __getpt
24 .type __getpt, @function
25 __getpt:
26 movl $2, %edi
27 jmp __posix_openpt@PLT
28 .size __getpt, .-__getpt
29 .weak getpt
30 .set getpt,__getpt