cosmopolitan/libc/sysv/dos2errno/EPIPE.S
Justine Tunney 1422e96b4e
Introduce native support for MacOS ARM64
There's a new program named ape/ape-m1.c which will be used to build an
embeddable binary that can load ape and elf executables. The support is
mostly working so far, but still chasing down ABI issues.
2023-05-20 04:17:03 -07:00

16 lines
390 B
ArmAsm

// generated by libc/sysv/dos2errno.sh
#include "libc/nt/errors.h"
#ifndef __x86_64__
.end
#endif
.macro .e doscode systemv
.short \doscode
.long \systemv
.endm
.section .sort.rodata.dos2errno.2,"a",@progbits
.globl kDos2Errno.EPIPE
.type kDos2Errno.EPIPE,@object
kDos2Errno.EPIPE:
.e kNtErrorGracefulDisconnect,EPIPE
.e kNtErrorPipeNotConnected,EPIPE
.e WSAEDISCON,EPIPE