Skip to content

Commit

Permalink
Add SHF_EXCLUDE constant for ELF
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 20, 2021
1 parent 2e2f9d9 commit 1410b1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 0x8000_0000;

/// Section compression header.
///
Expand Down

0 comments on commit 1410b1a

Please sign in to comment.