elf: Add EM_RX definition
authorYoshinori Sato <ysato@users.sourceforge.jp>
Fri, 14 Aug 2020 13:14:38 +0000 (22:14 +0900)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 26 Oct 2020 23:22:55 +0000 (00:22 +0100)
RX's ELF machine is not defined in "elf.h".
Added it.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200814131438.28406-1-ysato@users.sourceforge.jp>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
include/elf.h

index c117a4d1ab05d8b296c5c287497660e4dbdfe352..d9bf4a95d8612877d36361b3af27e42c8ba63ecd 100644 (file)
@@ -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 */