From db93d629a18bee82cc18730a06f5572b375a0573 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 18 May 2021 07:56:17 -0700 Subject: [PATCH] Add SHF_EXCLUDE constant for ELF --- src/elf.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/elf.rs b/src/elf.rs index 69e7d109..ada43e79 100644 --- a/src/elf.rs +++ b/src/elf.rs @@ -735,6 +735,8 @@ pub const SHF_COMPRESSED: u32 = 1 << 11; pub const SHF_MASKOS: u32 = 0x0ff0_0000; /// Processor-specific section flags. pub const SHF_MASKPROC: u32 = 0xf000_0000; +/// This section is excluded from the final executable or shared library. +pub const SHF_EXCLUDE: u32 = 0x80000000; /// Section compression header. ///