We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EM_CURRENT
1 parent e6eaa0f commit afc1516Copy full SHA for afc1516
src/elf.rs
@@ -68,6 +68,8 @@ pub const STV_DEFAULT: u8 = 0;
68
pub const EM_CURRENT: u16 = 40; // EM_ARM
69
#[cfg(target_arch = "x86")]
70
pub const EM_CURRENT: u16 = 3; // EM_386
71
+#[cfg(target_arch = "powerpc")]
72
+pub const EM_CURRENT: u16 = 20; // EM_PPC
73
#[cfg(target_arch = "powerpc64")]
74
pub const EM_CURRENT: u16 = 21; // EM_PPC64
75
#[cfg(target_arch = "s390x")]
0 commit comments