summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2020-08-14 22:14:38 +0900
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-27 00:22:55 +0100
commitd06edeca2f26d33f5823e6ab883408dab6ef25dc (patch)
tree0acf9b689a5dc96112c02ec0cc69d874e85f0ca0
parent1dc887329a10903940501b43e8c0cc67af7c06d5 (diff)
downloadfocaccia-qemu-d06edeca2f26d33f5823e6ab883408dab6ef25dc.tar.gz
focaccia-qemu-d06edeca2f26d33f5823e6ab883408dab6ef25dc.zip
elf: Add EM_RX definition
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>
-rw-r--r--include/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index c117a4d1ab..d9bf4a95d8 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 */