Skip to content

Commit

Permalink
elf: add EF_MIPS_ABI_* e_flags constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrtonm committed May 1, 2022
1 parent f18fc4b commit b976efd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2373,6 +2373,15 @@ pub const EF_MIPS_NAN2008: u32 = 1024;
/// MIPS architecture level.
pub const EF_MIPS_ARCH: u32 = 0xf000_0000;

/// The first MIPS 32 bit ABI
pub const EF_MIPS_ABI_O32: u32 = 0x0000_1000;
/// O32 ABI extended for 64-bit architectures
pub const EF_MIPS_ABI_O64: u32 = 0x0000_2000;
/// EABI in 32-bit mode
pub const EF_MIPS_ABI_EABI32: u32 = 0x0000_3000;
/// EABI in 64-bit mode
pub const EF_MIPS_ABI_EABI64: u32 = 0x0000_4000;

// Legal values for MIPS architecture level.

/// -mips1 code.
Expand Down

0 comments on commit b976efd

Please sign in to comment.