]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When our linker merges .SUNW_dof sections from multiple files, it simply
authorMark Johnston <markj@FreeBSD.org>
Sat, 1 Mar 2014 23:09:07 +0000 (23:09 +0000)
committerMark Johnston <markj@FreeBSD.org>
Sat, 1 Mar 2014 23:09:07 +0000 (23:09 +0000)
commit44c25a3d8264402333dcdf3042835a7944c3647f
tree7e09019c3235506b3d16f8c6a3e02211c2d0ca55
parentc3b76e1345774f03d60c4972841a59dbff54954b
When our linker merges .SUNW_dof sections from multiple files, it simply
concatenates the DOF tables into one section. Previously, the USDT init
code in drti.o would only look at the first table in the DOF section; with
this change, it iterates over all the tables, passing each DOF table to
the kernel.

PR: 186821
Submitted by: Fedor Indutny <fedor@indutny.com>
MFC after: 1 month
cddl/contrib/opensolaris/lib/libdtrace/common/drti.c