mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
1422e96b4e
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.
23 lines
647 B
ArmAsm
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
|