Fix build on systems that lack EM_ARM/EM_OPENRISC definitions
* xlat/audit_arch.in: Guard AUDIT_ARCH_ARM and AUDIT_ARCH_ARMEB with EM_ARM check. Guard AUDIT_ARCH_OPENRISC with EM_OPENRISC check.
This commit is contained in:
parent
642ee798b2
commit
69c1570d55
@ -1,14 +1,16 @@
|
||||
/* linux used to have linux/elf-em.h out of sync with linux/audit.h */
|
||||
AUDIT_ARCH_AARCH64
|
||||
AUDIT_ARCH_ALPHA
|
||||
#ifdef EM_ARM
|
||||
AUDIT_ARCH_ARM
|
||||
AUDIT_ARCH_ARMEB
|
||||
#endif
|
||||
AUDIT_ARCH_CRIS
|
||||
AUDIT_ARCH_FRV
|
||||
AUDIT_ARCH_I386
|
||||
AUDIT_ARCH_IA64
|
||||
AUDIT_ARCH_M32R
|
||||
AUDIT_ARCH_M68K
|
||||
/* Linux had broken linux/elf-em.h for a while. */
|
||||
#ifdef EM_MICROBLAZE
|
||||
AUDIT_ARCH_MICROBLAZE
|
||||
#endif
|
||||
@ -18,7 +20,9 @@ AUDIT_ARCH_MIPS64N32
|
||||
AUDIT_ARCH_MIPSEL
|
||||
AUDIT_ARCH_MIPSEL64
|
||||
AUDIT_ARCH_MIPSEL64N32
|
||||
#ifdef EM_OPENRISC
|
||||
AUDIT_ARCH_OPENRISC
|
||||
#endif
|
||||
AUDIT_ARCH_PARISC
|
||||
AUDIT_ARCH_PARISC64
|
||||
AUDIT_ARCH_PPC
|
||||
|
Loading…
x
Reference in New Issue
Block a user