Skip to content

Commit 7552ab7

Browse files
author
Charisee
committed
Add constant values for GNU Property Type
1 parent 8670554 commit 7552ab7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/elf.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1900,6 +1900,10 @@ pub const NT_GNU_GOLD_VERSION: u32 = 4;
19001900
pub const NT_GNU_PROPERTY_TYPE_0: u32 = 5;
19011901

19021902
// TODO: GNU_PROPERTY_*
1903+
// Property Type
1904+
pub const GNU_PROPERTY_AARCH64_FEATURE_1_AND: u32 = 0xc0000000;
1905+
pub const GNU_PROPERTY_X86_FEATURE_1_AND: u32 = 0xc0000002;
1906+
19031907
// TODO: Elf*_Move
19041908

19051909
/// Header of `SHT_HASH` section.

0 commit comments

Comments
 (0)