PERFORCE change 95481 for review
John Birrell
jb at FreeBSD.org
Tue Apr 18 06:04:03 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95481
Change 95481 by jb at jb_freebsd2 on 2006/04/18 06:03:07
Add the ctfmerge statements to merge CTF data into shared libraries.
This is a significant emotional event! There are enough programs and
shared libraries built automatically in 'make buildworld' to do a
trace, if only there was something to actually /do/ the trace. That
means it's time to get dtrace(1) working. And beyond that, the
dtrace kernel device.
Affected files ...
.. //depot/projects/dtrace/src/share/mk/bsd.lib.mk#4 edit
Differences ...
==== //depot/projects/dtrace/src/share/mk/bsd.lib.mk#4 (text+ko) ====
@@ -222,6 +222,9 @@
@${CC} ${LDFLAGS} -shared -Wl,-x \
-o ${.TARGET} -Wl,-soname,${SONAME} \
`lorder ${SOBJS} | tsort -q` ${LDADD}
+.if defined(CTFMERGE)
+ ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}
+.endif
.endif
.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no"
More information about the p4-projects
mailing list