Author: markj
Date: Wed Mar 28 13:39:20 2018
New Revision: 331669
URL: https://svnweb.freebsd.org/changeset/base/331669

Log:
  Revert r331551. It is causing perl and tcl port build failures.
  
  Reported by:  antoine

Modified:
  stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
==============================================================================
--- stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c   Wed Mar 
28 12:44:28 2018        (r331668)
+++ stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c   Wed Mar 
28 13:39:20 2018        (r331669)
@@ -22,7 +22,6 @@
 /*
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
- * Copyright 2017-2018 Mark Johnston <[email protected]>
  */
 
 #pragma ident  "%Z%%M% %I%     %E% SMI"
@@ -275,7 +274,7 @@ prepare_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof,
                        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,
                        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++;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to