cosmopolitan/libc/sysv/errfuns/esrmnt.S
2020-06-15 07:18:57 -07:00

11 lines
184 B
ArmAsm

#include "libc/macros.h"
.text.unlikely
esrmnt: .leafprologue
.profilable
mov ESRMNT(%rip),%eax
mov %eax,errno(%rip)
push $-1
pop %rax
.leafepilogue
.endfn esrmnt,globl,hidden