Skip to content

Commit 3342d40

Browse files
AMS21tgross35
authored andcommitted
Add missing EM_RISCV constant
(backport <#4659>) (cherry picked from commit 3f2a3ab)
1 parent 1f49f85 commit 3342d40

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ EM_PPC64
514514
EM_PRISM
515515
EM_RCE
516516
EM_RH32
517+
EM_RISCV
517518
EM_S370
518519
EM_S390
519520
EM_SH

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,6 +2482,7 @@ pub const EM_XTENSA: u16 = 94;
24822482
pub const EM_AARCH64: u16 = 183;
24832483
pub const EM_TILEPRO: u16 = 188;
24842484
pub const EM_TILEGX: u16 = 191;
2485+
pub const EM_RISCV: u16 = 243;
24852486
pub const EM_ALPHA: u16 = 0x9026;
24862487

24872488
// elf.h - Legal values for e_version (version).

0 commit comments

Comments
 (0)