summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/main.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-08-28 15:04:53 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-08-28 15:04:53 +0000
commit7ce28b7066d5299134f831d522470bcecba74fce (patch)
tree48159755ed56c871fcb86434177d84535c9443f0 /usr.bin/truss/main.c
parent02bb2a078e660547225bc1483d9f7c6905f38360 (diff)
downloadFreeBSD-src-7ce28b7066d5299134f831d522470bcecba74fce.zip
FreeBSD-src-7ce28b7066d5299134f831d522470bcecba74fce.tar.gz
Fix breakage introduced in r211725 and improve functionality of truss on
64-bit powerpc by adding 32-bit compatibility features.
Diffstat (limited to 'usr.bin/truss/main.c')
-rw-r--r--usr.bin/truss/main.c3
1 files changed, 3 insertions, 0 deletions
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 },
OpenPOWER on IntegriCloud