diff options
author | markj <markj@FreeBSD.org> | 2018-03-28 13:39:20 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2018-03-28 13:39:20 +0000 |
commit | 7ff6ea0d3119854fae9c76bb6e4b318fe0f0a5a7 (patch) | |
tree | f8bf61a8a1da5aa59c28d4563ccfa383b2052435 /cddl/contrib/opensolaris | |
parent | 97fbd5c7325bf24e4744d5243a182d0e8ec41344 (diff) | |
download | FreeBSD-src-7ff6ea0d3119854fae9c76bb6e4b318fe0f0a5a7.zip FreeBSD-src-7ff6ea0d3119854fae9c76bb6e4b318fe0f0a5a7.tar.gz |
Revert r331551. It is causing perl and tcl port build failures.
Reported by: antoine
Diffstat (limited to 'cddl/contrib/opensolaris')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c index e418bf6..1da91f0 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c +++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c @@ -22,7 +22,6 @@ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. - * Copyright 2017-2018 Mark Johnston <markj@FreeBSD.org> */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -275,7 +274,7 @@ prepare_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf32_t *dep) sym->st_value = 0; sym->st_size = 0; sym->st_info = ELF32_ST_INFO(STB_GLOBAL, STT_FUNC); - sym->st_other = ELF32_ST_VISIBILITY(STV_HIDDEN); + sym->st_other = 0; sym->st_shndx = SHN_UNDEF; rel++; @@ -473,7 +472,7 @@ prepare_elf64(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf64_t *dep) sym->st_value = 0; sym->st_size = 0; sym->st_info = GELF_ST_INFO(STB_GLOBAL, STT_FUNC); - sym->st_other = ELF64_ST_VISIBILITY(STV_HIDDEN); + sym->st_other = 0; sym->st_shndx = SHN_UNDEF; rel++; |