clarify the purpose of this project
[nyanglibc.git] / misc / removexattr.shared.s
blob4956ab513677e8a1b94617223ee2ac3768d6031b
1 .text
2 .globl removexattr
3 .type removexattr,@function
4 .align 1<<4
5 removexattr:
7 movl $197, %eax
8 syscall
9 cmpq $-4095, %rax
10 jae 0f
11 ret
12 0: movq __libc_errno@GOTTPOFF(%rip), %rcx
13 neg %eax
14 movl %eax, %fs:(%rcx)
15 or $-1, %rax
16 ret
17 .size removexattr,.-removexattr
18 .globl __GI_removexattr
19 .set __GI_removexattr,removexattr