Browse Source

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>
pull/71/merge
Aleksandar Rikalo 8 years ago
committed by Aleksandar Markovic
parent
commit
2a94de0770
  1. 2
      include/elf.h

2
include/elf.h

@ -143,6 +143,8 @@ typedef int64_t Elf64_Sxword;
#define EM_RISCV 243 /* RISC-V */ #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 * This is an interim value that we will use until the committee comes
* up with a final number. * up with a final number.

Loading…
Cancel
Save