[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/31] elf: Add machine type value for LoongArch
From: |
Richard Henderson |
Subject: |
[PULL 01/31] elf: Add machine type value for LoongArch |
Date: |
Tue, 21 Dec 2021 08:47:07 -0800 |
From: WANG Xuerui <git@xen0n.name>
This is already officially allocated as recorded in GNU binutils
repo [1], and the description is updated in [2]. Add to enable further
work.
[1]:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4cf2ad720078a9f490dd5b5bc8893a926479196e
[2]:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=01a8c731aacbdbed0eb5682d13cc074dc7e25fb3
Signed-off-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211221054105.178795-2-git@xen0n.name>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/elf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/elf.h b/include/elf.h
index 811bf4a1cb..3a4bcb646a 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -182,6 +182,8 @@ typedef struct mips_elf_abiflags_v0 {
#define EM_NANOMIPS 249 /* Wave Computing nanoMIPS */
+#define EM_LOONGARCH 258 /* LoongArch */
+
/*
* This is an interim value that we will use until the committee comes
* up with a final number.
--
2.25.1
- [PULL 00/31] tcg/loongarch64: New tcg backend, Richard Henderson, 2021/12/21
- [PULL 01/31] elf: Add machine type value for LoongArch,
Richard Henderson <=
- [PULL 02/31] MAINTAINERS: Add tcg/loongarch64 entry with myself as maintainer, Richard Henderson, 2021/12/21
- [PULL 03/31] tcg/loongarch64: Add the tcg-target.h file, Richard Henderson, 2021/12/21
- [PULL 05/31] tcg/loongarch64: Add register names, allocation order and input/output sets, Richard Henderson, 2021/12/21
- [PULL 09/31] tcg/loongarch64: Implement tcg_out_mov and tcg_out_movi, Richard Henderson, 2021/12/21
- [PULL 04/31] tcg/loongarch64: Add generated instruction opcodes and encoding helpers, Richard Henderson, 2021/12/21
- [PULL 07/31] tcg/loongarch64: Implement necessary relocation operations, Richard Henderson, 2021/12/21
- [PULL 06/31] tcg/loongarch64: Define the operand constraints, Richard Henderson, 2021/12/21
- [PULL 14/31] tcg/loongarch64: Implement bswap{16,32,64} ops, Richard Henderson, 2021/12/21
- [PULL 13/31] tcg/loongarch64: Implement deposit/extract ops, Richard Henderson, 2021/12/21
- [PULL 12/31] tcg/loongarch64: Implement not/and/or/xor/nor/andc/orc ops, Richard Henderson, 2021/12/21