aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-12-11 16:27:22 +0000
committerMark Johnston <markj@FreeBSD.org>2022-12-11 16:27:22 +0000
commitbe39466a1035ffb13268cd63723e976898e9b91e (patch)
treec504b204af55b9dcdd70da843cc4e5ccfaa01583 /cddl/contrib
parent83bf6ab568293e325f437342cdb87a626353e27c (diff)
downloadsrc-be39466a1035ffb13268cd63723e976898e9b91e.tar.gz
src-be39466a1035ffb13268cd63723e976898e9b91e.zip
Diffstat (limited to 'cddl/contrib')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
index 0b3dac0224f9..927b4415409d 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
@@ -1612,6 +1612,7 @@ process_obj(dtrace_hdl_t *dtp, const char *obj, int *eprobesp)
* invocation.
*/
if (rsym.st_shndx != SHN_ABS) {
+ rsym.st_info = GELF_ST_INFO(STB_WEAK, STT_FUNC);
rsym.st_shndx = SHN_ABS;
(void) gelf_update_sym(data_sym, ndx, &rsym);
}