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: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com>
This commit is contained in:
Aleksandar Rikalo 2018-08-13 17:34:05 +02:00 committed by Aleksandar Markovic
parent 26324ded91
commit 2a94de0770
1 changed files with 2 additions and 0 deletions

View File

@ -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.