Skip to content

Commit

Permalink
Add constants for .gnu symbol version extension sections' flag fields
Browse files Browse the repository at this point in the history
  • Loading branch information
cole14 committed Oct 28, 2022
1 parent 899e603 commit 84485ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,11 @@ pub const VER_DEF_CURRENT: u16 = 1;
/// Only defined valid vn_version value
pub const VER_NEED_CURRENT: u16 = 1;

// Bit flags which appear in vd_flags of VerDef and vna_flags of VerNeedAux.
pub const VER_FLG_BASE: u16 = 0x1;
pub const VER_FLG_WEAK: u16 = 0x2;
pub const VER_FLG_INFO: u16 = 0x4;

/// ZLIB/DEFLATE
pub const ELFCOMPRESS_ZLIB: u32 = 1;
/// zstd algorithm
Expand Down

0 comments on commit 84485ad

Please sign in to comment.