Dtrace: improve handling of library paths.
authorpfg <pfg@FreeBSD.org>
Tue, 17 Jul 2012 19:57:34 +0000 (19:57 +0000)
committerpfg <pfg@FreeBSD.org>
Tue, 17 Jul 2012 19:57:34 +0000 (19:57 +0000)
commitd75ae2f261e0388ab653d345fdfe8d17b64aaf62
tree514723b2e08585e273c82e445c37452f8ce9f815
parentb3c14b7d4a1c51dc4a0a2c31de89a4e23f1b1952
parent84258b1f15098e2a784fd3bd7d214416f1e97104
Dtrace: improve handling of library paths.

Merge changes from illumos

906 dtrace depends_on pragma should search all library paths, not just the
current one

949 dtrace should only include the first instance of a library found on
its library path

Illumos Revisions: 13353:936a1e45726c
13354:2b2c36a81512

Reference:
https://www.illumos.org/issues/906
https://www.illumos.org/issues/949

Tested by: Fabian Keil
Obtained from: Illumos
MFC after: 3 weeks
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/include/tst.includefirst.ksh
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/tst.libdepsepdir.ksh
cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c
cddl/contrib/opensolaris/lib/libdtrace/common/dt_pragma.c