freebsd-src/cddl
Mark Johnston 98492960c3 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

(cherry picked from commit be39466a10)
2022-12-19 09:56:38 -05:00
..
compat/opensolaris Delete obsolete Solaris compat files 2021-06-17 12:40:00 -06:00
contrib/opensolaris libdtrace: Change the binding of USDT probe symbols to STB_WEAK 2022-12-19 09:56:38 -05:00
lib libdtrace: Fix some CPU register number definitions to match the kernel 2022-10-19 10:15:59 -04:00
sbin zfs: merge openzfs/zfs@c3b60eded (zfs-2.1-release) into stable/13 2021-06-13 05:43:03 +02:00
share zfs: merge openzfs/zfs@7d9f3ef0e (zfs-2.1-release) into stable/13 2021-06-08 17:01:18 +02:00
tests
usr.bin ctf: Link CTF toolchain man pages to ctf.5 2022-04-27 20:34:30 -04:00
usr.libexec zfs: attach zpool_influxdb to build 2021-07-10 12:26:42 +02:00
usr.sbin zfsd(8): Fix a typo in an error message 2022-11-01 07:02:22 +01:00
Makefile zfs: attach zpool_influxdb to build 2021-07-10 12:26:42 +02:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00