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 18, 2021
1 parent e9663fc commit db93d62
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 = 0x80000000;

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

0 comments on commit db93d62

Please sign in to comment.