cosmopolitan/libc/sysv/dos2errno/ENOEXEC.S
Justine Tunney 77a7873057
Improve AARCH64 execution
This change fixes bugs in the APE loader. The execve() unit tests are
now enabled for MODE=aarch64. See the README for how you need to have
binfmt_misc configured with Qemu to run them. Apple Silicon bugs have
been fixed too, e.g. tkill() now works.
2023-09-11 14:46:46 -07:00

15 lines
383 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.ENOEXEC
.type kDos2Errno.ENOEXEC,@object
kDos2Errno.ENOEXEC:
.e kNtErrorExeMarkedInvalid,ENOEXEC
.e kNtErrorExeMachineTypeMismatch,ENOEXEC