[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 01/30] elf: Add machine type value for LoongArch
From: |
WANG Xuerui |
Subject: |
[PATCH v2 01/30] elf: Add machine type value for LoongArch |
Date: |
Wed, 22 Sep 2021 04:18:46 +0800 |
Signed-off-by: WANG Xuerui <git@xen0n.name>
---
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.33.0
- [PATCH v2 00/30] LoongArch64 port of QEMU TCG, WANG Xuerui, 2021/09/21
- [PATCH v2 01/30] elf: Add machine type value for LoongArch,
WANG Xuerui <=
- [PATCH v2 02/30] MAINTAINERS: Add tcg/loongarch64 entry with myself as maintainer, WANG Xuerui, 2021/09/21
- [PATCH v2 07/30] tcg/loongarch64: Implement necessary relocation operations, WANG Xuerui, 2021/09/21
- [PATCH v2 06/30] tcg/loongarch64: Define the operand constraints, WANG Xuerui, 2021/09/21
- [PATCH v2 03/30] tcg/loongarch64: Add the tcg-target.h file, WANG Xuerui, 2021/09/21
- [PATCH v2 09/30] tcg/loongarch64: Implement tcg_out_mov and tcg_out_movi, WANG Xuerui, 2021/09/21