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