mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
414667b1c9
It's now possible to run commands like: make -j8 m=aarch64 o/aarch64/test/libc/str Which will cross-compile and run the test suites in a qemu-aarch64 binary that's vendored in the third_party/qemu/ folder within your x86_64 build environment.
17 lines
814 B
C
17 lines
814 B
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_AUDIT_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_AUDIT_H_
|
|
#include "libc/elf/def.h"
|
|
|
|
#define __AUDIT_ARCH_64BIT 0x80000000
|
|
#define __AUDIT_ARCH_LE 0x40000000
|
|
#define __AUDIT_ARCH_CONVENTION_MASK 0x30000000
|
|
#define __AUDIT_ARCH_CONVENTION_MIPS64_N32 0x20000000
|
|
|
|
#define AUDIT_ARCH_X86_64 (EM_X86_64 | __AUDIT_ARCH_64BIT | __AUDIT_ARCH_LE)
|
|
#define AUDIT_ARCH_I386 (EM_386 | __AUDIT_ARCH_LE)
|
|
#define AUDIT_ARCH_AARCH64 (EM_AARCH64 | __AUDIT_ARCH_64BIT | __AUDIT_ARCH_LE)
|
|
#define AUDIT_ARCH_PPC64LE (EM_PPC64 | __AUDIT_ARCH_64BIT | __AUDIT_ARCH_LE)
|
|
#define AUDIT_ARCH_RISCV64 (EM_RISCV | __AUDIT_ARCH_64BIT | __AUDIT_ARCH_LE)
|
|
#define AUDIT_ARCH_S390X (EM_S390 | __AUDIT_ARCH_64BIT)
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_AUDIT_H_ */
|