summaryrefslogtreecommitdiffstats
path: root/sys/sys/elf_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/elf_common.h')
-rw-r--r--sys/sys/elf_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index b334fe9..1947d11 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -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. */
OpenPOWER on IntegriCloud