diff mbox series

[1/1] include/elf.h: Add EM_RX.

Message ID 20200814131438.28406-1-ysato@users.sourceforge.jp (mailing list archive)
State New, archived
Headers show
Series [1/1] include/elf.h: Add EM_RX. | expand

Commit Message

Yoshinori Sato Aug. 14, 2020, 1:14 p.m. UTC
RX's ELF machine not defined elf.h.
Added it.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
---
 include/elf.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Richard Henderson Aug. 14, 2020, 5:15 p.m. UTC | #1
On 8/14/20 6:14 AM, Yoshinori Sato wrote:
> RX's ELF machine not defined elf.h.
> Added it.
> 
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
> ---
>  include/elf.h | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Philippe Mathieu-Daudé Oct. 26, 2020, 10:18 p.m. UTC | #2
On 8/14/20 3:14 PM, Yoshinori Sato wrote:
> RX's ELF machine not defined elf.h.
> Added it.
> 
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
> ---
>   include/elf.h | 2 ++
>   1 file changed, 2 insertions(+)

Thanks, applied to renesas-next.
diff mbox series

Patch

diff --git a/include/elf.h b/include/elf.h
index 5b06b55f28..b14ecade48 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 */