Skip to content

Commit 3f2a3ab

Browse files
AMS21tgross35
authored andcommitted
Add missing EM_RISCV constant
1 parent 4439546 commit 3f2a3ab

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
@@ -2451,6 +2451,7 @@ pub const EM_XTENSA: u16 = 94;
24512451
pub const EM_AARCH64: u16 = 183;
24522452
pub const EM_TILEPRO: u16 = 188;
24532453
pub const EM_TILEGX: u16 = 191;
2454+
pub const EM_RISCV: u16 = 243;
24542455
pub const EM_ALPHA: u16 = 0x9026;
24552456

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

0 commit comments

Comments
 (0)