cosmopolitan/libc/sysv/errfuns/estale.S

18 lines
298 B
ArmAsm
Raw Normal View History

#include "libc/macros.internal.h"
2020-06-15 07:18:57 -07:00
.text.unlikely
estale:
#ifdef __x86_64__
.leafprologue
.profilable
2022-05-16 13:20:08 -07:00
mov ESTALE(%rip),%ecx
jmp __errfun
#elif defined(__aarch64__)
adrp x1,ESTALE
ldr w0,[x1,#:lo12:ESTALE]
b __errfun
#else
#error "unsupported architecture"
#endif
2020-06-15 07:18:57 -07:00
.endfn estale,globl,hidden