freebsd-src/cddl/contrib/opensolaris
Mark Johnston be39466a10 libdtrace: Change the binding of USDT probe symbols to STB_WEAK
Otherwise, if multiple object files contain references to the same
probe, newish lld will refuse to link them by default, raising a
duplicate global symbol definition error.  Previously, duplicate global
symbols with identical absolute st_values were permitted by both lld and
GNU ld.

Since dtrace has no use for probe function symbols after the relocation
performed by dtrace -G, make the symbols weak as well, following a
suggestion from MaskRay.

Reported by:	dim
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2022-12-11 11:27:22 -05:00
..
cmd dtrace tests: Extend the kinst regression test 2022-12-08 15:07:48 -05:00
common libctf: Fix recursive descent into anonymous SOU fields 2022-04-12 17:29:53 -04:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib libdtrace: Change the binding of USDT probe symbols to STB_WEAK 2022-12-11 11:27:22 -05:00
tools/ctf ctfconvert: Actually use the asprintf() helper 2022-08-02 20:49:50 -04:00
OPENSOLARIS.LICENSE