mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
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.
15 lines
383 B
ArmAsm
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
|