Skip to content

Commit

Permalink
Add constant values for GNU Property Type
Browse files Browse the repository at this point in the history
  • Loading branch information
Charisee committed Apr 21, 2023
1 parent 8670554 commit 7552ab7
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 @@ -1900,6 +1900,10 @@ pub const NT_GNU_GOLD_VERSION: u32 = 4;
pub const NT_GNU_PROPERTY_TYPE_0: u32 = 5;

// TODO: GNU_PROPERTY_*
// Property Type
pub const GNU_PROPERTY_AARCH64_FEATURE_1_AND: u32 = 0xc0000000;
pub const GNU_PROPERTY_X86_FEATURE_1_AND: u32 = 0xc0000002;

// TODO: Elf*_Move

/// Header of `SHT_HASH` section.
Expand Down

0 comments on commit 7552ab7

Please sign in to comment.