From 99d6a5644c78b3f3504ecbf7be003b7c3e99a62a Mon Sep 17 00:00:00 2001 From: jhibbits Date: Wed, 7 Nov 2012 23:45:09 +0000 Subject: Implement DTrace for PowerPC. This includes both 32-bit and 64-bit. There is one known issue: Some probes will display an error message along the lines of: "Invalid address (0)" I tested this with both a simple dtrace probe and dtruss on a few different binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect problems without the modules loaded. Volunteers are welcome. MFC after: 1 month --- lib/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index 199e08b..7c3ccbd 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -207,6 +207,11 @@ _libproc= libproc _librtld_db= librtld_db .endif +.if ${MACHINE_CPUARCH} == "powerpc" +_libproc= libproc +_librtld_db= librtld_db +.endif + .if ${MK_OPENSSL} != "no" _libmp= libmp .endif -- cgit v1.1