Skip to content

Commit

Permalink
Add 2 new constants
Browse files Browse the repository at this point in the history
  • Loading branch information
marxin committed Aug 18, 2024
1 parent 112417e commit ae774b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,10 @@ pub const SHF_TLS: u32 = 1 << 10;
///
/// Compressed sections begin with one of the `CompressionHeader*` headers.
pub const SHF_COMPRESSED: u32 = 1 << 11;
/// Section should not be garbage collected by the linker.
pub const SHF_GNU_RETAIN: u32 = 1 << 21;
/// Mbind section.
pub const SHF_GNU_MBIND: u32 = 1 << 24;
/// OS-specific section flags.
pub const SHF_MASKOS: u32 = 0x0ff0_0000;
/// Processor-specific section flags.
Expand Down

0 comments on commit ae774b5

Please sign in to comment.