diff mbox series

[RFC,v3,03/34] Hexagon (include/elf.h) ELF machine definition

Message ID 1597765847-16637-4-git-send-email-tsimpson@quicinc.com
State New
Headers show
Series [RFC,v3,01/34] Hexagon Update MAINTAINERS file | expand

Commit Message

Taylor Simpson Aug. 18, 2020, 3:50 p.m. UTC
Define EM_HEXAGON 164

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 include/elf.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Richard Henderson Aug. 26, 2020, 2:06 a.m. UTC | #1
On 8/18/20 8:50 AM, Taylor Simpson wrote:
> Define EM_HEXAGON 164
> 
> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  include/elf.h | 2 ++
>  1 file changed, 2 insertions(+)

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

r~
diff mbox series

Patch

diff --git a/include/elf.h b/include/elf.h
index 5b06b55..447da08 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_HEXAGON     164     /* Qualcomm Hexagon */
+
 #define EM_RISCV        243     /* RISC-V */
 
 #define EM_NANOMIPS     249     /* Wave Computing nanoMIPS */