Skip to content

Commit 6dd0305

Browse files
authored
Add a definititon of EM_CURRENT for s390x. (#145)
1 parent 7bda0bd commit 6dd0305

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/elf.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ pub const EM_CURRENT: u16 = 40; // EM_ARM
7070
pub const EM_CURRENT: u16 = 3; // EM_386
7171
#[cfg(target_arch = "powerpc64")]
7272
pub const EM_CURRENT: u16 = 21; // EM_PPC64
73+
#[cfg(target_arch = "s390x")]
74+
const EM_CURRENT: u16 = 22; // EM_S390
7375
#[cfg(any(
7476
target_arch = "mips",
7577
target_arch = "mips32r6",

0 commit comments

Comments
 (0)