From 2e02bd2204a98d12c81635eee971720a4eb35fc3 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 19 May 2015 14:23:33 +0000 Subject: [PATCH] Add GRP_COMDAT section group flag to ELF header Reviewed by: kib MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2582 --- sys/sys/elf_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index e9a7e37056f5..d429e86676a1 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -473,6 +473,9 @@ typedef struct { #define SHF_MASKOS 0x0ff00000 /* OS-specific semantics. */ #define SHF_MASKPROC 0xf0000000 /* Processor-specific semantics. */ +/* Flags for section groups. */ +#define GRP_COMDAT 0x1 /* COMDAT semantics. */ + /* Values for p_type. */ #define PT_NULL 0 /* Unused entry. */ #define PT_LOAD 1 /* Loadable segment. */