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

23 lines
647 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.ENOMEM
.type kDos2Errno.ENOMEM,@object
kDos2Errno.ENOMEM:
.e kNtErrorCommitmentLimit,ENOMEM
.e kNtErrorNonpagedSystemResources,ENOMEM
.e kNtErrorNotEnoughMemory,ENOMEM
.e kNtErrorNotEnoughQuota,ENOMEM
.e kNtErrorNoSystemResources,ENOMEM
.e kNtErrorPagedSystemResources,ENOMEM
.e kNtErrorPagefileQuota,ENOMEM
.e kNtErrorTooManyNames,ENOMEM
.e kNtErrorWorkingSetQuota,ENOMEM
.e WSAEPROCLIM,ENOMEM