clarify the purpose of this project
[nyanglibc.git] / misc / xmknodat.shared.s
blob31798523ed4f936029729467bfedeb0bf3d74b99
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __xmknodat
9 .type __xmknodat, @function
10 __xmknodat:
11 testl %edi, %edi
12 movl %esi, %eax
13 movq %rdx, %rsi
14 movl %ecx, %edx
15 jne .L5
16 movq (%r8), %rcx
17 movl %eax, %edi
18 jmp __GI___mknodat
19 .p2align 4,,10
20 .p2align 3
21 .L5:
22 movq __libc_errno@gottpoff(%rip), %rax
23 movl $22, %fs:(%rax)
24 movl $-1, %eax
25 ret
26 .size __xmknodat, .-__xmknodat