svn commit: r289403 - stable/10/sys/sys
Ed Maste
emaste at FreeBSD.org
Fri Oct 16 01:31:39 UTC 2015
Author: emaste
Date: Fri Oct 16 01:31:38 2015
New Revision: 289403
URL: https://svnweb.freebsd.org/changeset/base/289403
Log:
MFC r289070: Add .gnu.versym VERSYM_HIDDEN flag and related mask
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/sys/sys/elf_common.h
Modified: stable/10/sys/sys/elf_common.h
==============================================================================
--- stable/10/sys/sys/elf_common.h Fri Oct 16 01:23:41 2015 (r289402)
+++ stable/10/sys/sys/elf_common.h Fri Oct 16 01:31:38 2015 (r289403)
@@ -336,6 +336,12 @@ typedef struct {
/* Flags for section groups. */
#define GRP_COMDAT 0x1 /* COMDAT semantics. */
+/*
+ * Flags / mask for .gnu.versym sections.
+ */
+#define VERSYM_VERSION 0x7fff
+#define VERSYM_HIDDEN 0x8000
+
/* Values for p_type. */
#define PT_NULL 0 /* Unused entry. */
#define PT_LOAD 1 /* Loadable segment. */
More information about the svn-src-stable-10
mailing list