Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2015 17:33:05 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289070 - head/sys/sys
Message-ID:  <201510091733.t99HX5QN041371@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Oct  9 17:33:05 2015
New Revision: 289070
URL: https://svnweb.freebsd.org/changeset/base/289070

Log:
  Add .gnu.versym VERSYM_HIDDEN flag and related mask
  
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/sys/elf_common.h

Modified: head/sys/sys/elf_common.h
==============================================================================
--- head/sys/sys/elf_common.h	Fri Oct  9 16:44:44 2015	(r289069)
+++ head/sys/sys/elf_common.h	Fri Oct  9 17:33:05 2015	(r289070)
@@ -478,6 +478,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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510091733.t99HX5QN041371>