diff options
Diffstat (limited to 'tools/util.c')
-rw-r--r-- | tools/util.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/util.c b/tools/util.c index 9b58bbb..b45de3b 100644 --- a/tools/util.c +++ b/tools/util.c @@ -62,6 +62,14 @@ #elif __MIPSEL__ #define ARCH_NATIVE AUDIT_ARCH_MIPSEL64N32 #endif /* _MIPS_SIM_NABI32 */ +#elif __PPC64__ +#ifdef __BIG_ENDIAN__ +#define ARCH_NATIVE AUDIT_ARCH_PPC64 +#else +#define ARCH_NATIVE AUDIT_ARCH_PPC64LE +#endif +#elif __PPC__ +#define ARCH_NATIVE AUDIT_ARCH_PPC #else #error the simulator code needs to know about your machine type #endif |