From 7ce28b7066d5299134f831d522470bcecba74fce Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sat, 28 Aug 2010 15:04:53 +0000 Subject: Fix breakage introduced in r211725 and improve functionality of truss on 64-bit powerpc by adding 32-bit compatibility features. --- usr.bin/truss/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.bin/truss/main.c') diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c index 5c7da1d..b9dcfe4 100644 --- a/usr.bin/truss/main.c +++ b/usr.bin/truss/main.c @@ -97,6 +97,9 @@ struct ex_types { #ifdef __powerpc__ { "FreeBSD ELF", powerpc_syscall_entry, powerpc_syscall_exit }, { "FreeBSD ELF32", powerpc_syscall_entry, powerpc_syscall_exit }, +#ifdef __powerpc64__ + { "FreeBSD ELF64", powerpc64_syscall_entry, powerpc64_syscall_exit }, +#endif #endif #ifdef __sparc64__ { "FreeBSD ELF64", sparc64_syscall_entry, sparc64_syscall_exit }, -- cgit v1.1