From: Yoshinori Sato <ys...@users.sourceforge.jp>

RX's ELF machine is not defined in "elf.h".
Added it.

Signed-off-by: Yoshinori Sato <ys...@users.sourceforge.jp>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Message-Id: <20200814131438.28406-1-ys...@users.sourceforge.jp>
Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
---
 include/elf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/elf.h b/include/elf.h
index c117a4d1ab0..d9bf4a95d86 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -172,6 +172,8 @@ typedef struct mips_elf_abiflags_v0 {
 
 #define EM_UNICORE32    110     /* UniCore32 */
 
+#define EM_RX           173     /* Renesas RX family */
+
 #define EM_RISCV        243     /* RISC-V */
 
 #define EM_NANOMIPS     249     /* Wave Computing nanoMIPS */
-- 
2.26.2


Reply via email to