[Qemu-devel] [PATCH v8 58/87] elf: Add EM_NANOMIPS value as a valid one for e_machine field

Aleksandar Markovic posted 87 patches 7 years, 2 months ago
There is a newer version of this series
[Qemu-devel] [PATCH v8 58/87] elf: Add EM_NANOMIPS value as a valid one for e_machine field
Posted by Aleksandar Markovic 7 years, 2 months ago
From: Aleksandar Rikalo <arikalo@wavecomp.com>

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

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com>
---
 include/elf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/elf.h b/include/elf.h
index 28a5a63..312f68a 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -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.
-- 
2.7.4


Re: [Qemu-devel] [PATCH v8 58/87] elf: Add EM_NANOMIPS value as a valid one for e_machine field
Posted by Aleksandar Markovic 7 years, 2 months ago
> From: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>
> Sent: Monday, August 13, 2018 7:53 PM
> 
> Subject: [PATCH v8 58/87] elf: Add EM_NANOMIPS value as a valid one for e_machine field
> 
> From: Aleksandar Rikalo <arikalo@wavecomp.com>
> 
> Value 249 is registered as valid for usage for nanoMIPS executables.
> 
> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
> Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com>
> ---
>  include/elf.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/elf.h b/include/elf.h
> index 28a5a63..312f68a 100644
> --- a/include/elf.h
> +++ b/include/elf.h
> @@ -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.
> --
> 2.7.4 
> 

Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>