cosmopolitan/libc/sysv/errfuns/eafnosupport.S
2022-05-16 13:20:08 -07:00

14 lines
239 B
ArmAsm

#include "libc/macros.internal.h"
.text.unlikely
.section .privileged,"ax",@progbits
eafnosupport:
.leafprologue
mov EAFNOSUPPORT(%rip),%ecx
.errno
mov %ecx,(%rax)
push $-1
pop %rax
.leafepilogue
.endfn eafnosupport,globl,hidden