#ifndef __AUDIT_ARCH_CONVENTION_MIPS64_N32
# define __AUDIT_ARCH_CONVENTION_MIPS64_N32	0x20000000
#endif
#ifndef __AUDIT_ARCH_64BIT
# define __AUDIT_ARCH_64BIT	0x80000000
#endif
#ifndef __AUDIT_ARCH_LE
# define __AUDIT_ARCH_LE	0x40000000
#endif

AUDIT_ARCH_AARCH64	(EM_AARCH64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
AUDIT_ARCH_ALPHA	(EM_ALPHA|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
AUDIT_ARCH_ARCOMPACT	(EM_ARCOMPACT|__AUDIT_ARCH_LE)
AUDIT_ARCH_ARCOMPACTBE	(EM_ARCOMPACT)
AUDIT_ARCH_ARCV2	(EM_ARCV2|__AUDIT_ARCH_LE)
AUDIT_ARCH_ARCV2BE	(EM_ARCV2)
AUDIT_ARCH_ARM		(EM_ARM|__AUDIT_ARCH_LE)
AUDIT_ARCH_ARMEB	(EM_ARM)
AUDIT_ARCH_C6X		(EM_TI_C6000|__AUDIT_ARCH_LE)
AUDIT_ARCH_C6XBE	(EM_TI_C6000)
AUDIT_ARCH_CRIS		(EM_CRIS|__AUDIT_ARCH_LE)
AUDIT_ARCH_CSKY		(EM_CSKY|__AUDIT_ARCH_LE)
AUDIT_ARCH_FRV		(EM_FRV)
AUDIT_ARCH_H8300	(EM_H8_300) /* Removed in v3.13-rc1~130^2~2 */
AUDIT_ARCH_HEXAGON	(EM_HEXAGON)
AUDIT_ARCH_I386		(EM_386|__AUDIT_ARCH_LE)
AUDIT_ARCH_IA64		(EM_IA_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
AUDIT_ARCH_LOONGARCH32	(EM_LOONGARCH|__AUDIT_ARCH_LE)
AUDIT_ARCH_LOONGARCH64	(EM_LOONGARCH|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
AUDIT_ARCH_M32R		(EM_M32R)
AUDIT_ARCH_M68K		(EM_68K)
AUD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IT_ARCH_LE)
AUDIT_ARCH_SPARC	(EM_SPARC)
AUDIT_ARCH_SPARC64	(EM_SPARCV9|__AUDIT_ARCH_64BIT)
AUDIT_ARCH_TILEGX	(EM_TILEGX|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
AUDIT_ARCH_TILEGX32	(EM_TILEGX|__AUDIT_ARCH_LE)
AUDIT_ARCH_TILEPRO	(EM_TILEPRO|__AUDIT_ARCH_LE)
AUDIT_ARCH_UNICORE	(EM_UNICORE|__AUDIT_ARCH_LE)
AUDIT_ARCH_V850		(EM_V850|__AUDIT_ARCH_LE) /* Removed in v2.6.27-rc1~721 */
AUDIT_ARCH_X86_64	(EM_X86_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
AUDIT_ARCH_XTENSA	(EM_XTENSA)
