cosmopolitan/libc/sysv/dos2errno/EMSGSIZE.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

15 lines
375 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.EMSGSIZE
.type kDos2Errno.EMSGSIZE,@object
kDos2Errno.EMSGSIZE:
.e kNtErrorInvalidUserBuffer,EMSGSIZE
.e kNtErrorMoreData,EMSGSIZE