freebsd-skq/cddl/contrib/opensolaris
markj 766a186dd8 Remove drti.o's dependency on libelf. This makes it possible to add DTrace
probes to userland programs and libraries without also needing to link
libelf.

dtrace -G places the __SUNW_dof symbol at the beginning of the DOF (DTrace
probe and provider metdata) section in the generated object file; drti.o
now just uses this symbol to locate the section. A complication occurs
when multiple dtrace-generated object files are linked together, since the
__SUNW_dof symbol defined in each file is global. This is handled by
using objcopy(1) to convert __SUNW_dof to a local symbol once drti.o has
been linked with the generated object file. Upstream, this is done using a
linker feature not present in GNU ld.

Differential Revision:	https://reviews.freebsd.org/D1757
Reviewed by:	rpaulo
MFC after:	1 month
Relnotes:	yes
2015-02-18 03:54:54 +00:00
..
cmd Tweak the fds test program so that it actually compiles. Also use 0 instead 2015-02-14 00:03:43 +00:00
common Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib Remove drti.o's dependency on libelf. This makes it possible to add DTrace 2015-02-18 03:54:54 +00:00
tools/ctf Initial version of DTrace on ARM32. 2015-02-10 19:41:30 +00:00
OPENSOLARIS.LICENSE