Commit 2a94de07 authored by Aleksandar Rikalo's avatar Aleksandar Rikalo Committed by Aleksandar Markovic
Browse files

elf: Add EM_NANOMIPS value as a valid one for e_machine field



Value 249 is registered as valid for usage for nanoMIPS executables.

Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Reviewed-by: default avatarAleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: default avatarAleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: default avatarStefan Markovic <smarkovic@wavecomp.com>
parent 26324ded
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -143,6 +143,8 @@ typedef int64_t Elf64_Sxword;

#define EM_RISCV        243     /* RISC-V */

#define EM_NANOMIPS     249     /* Wave Computing nanoMIPS */

/*
 * This is an interim value that we will use until the committee comes
 * up with a final number.