diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/util.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/util.h b/tools/util.h index 72c4cce..2903769 100644 --- a/tools/util.h +++ b/tools/util.h @@ -24,6 +24,18 @@ #include <inttypes.h> +#ifndef AUDIT_ARCH_MIPS64N32 +/* MIPS64N32 support was merged in 3.15 */ +#define AUDIT_ARCH_MIPS64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|\ + __AUDIT_ARCH_CONVENTION_MIPS64_N32) +#endif + +#ifndef AUDIT_ARCH_MIPSEL64N32 +/* MIPSEL64N32 support was merged in 3.15 */ +#define AUDIT_ARCH_MIPSEL64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE|\ + __AUDIT_ARCH_CONVENTION_MIPS64_N32) +#endif + extern uint32_t arch; void exit_usage(const char *program); |