aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChenghua Xu <xuchenghua@loongson.cn>2021-05-23 10:16:36 +0800
committerChenghua Xu <xuchenghua@loongson.cn>2021-05-23 10:35:48 +0800
commit01a8c731aacbdbed0eb5682d13cc074dc7e25fb3 (patch)
tree4bfe0ba5bee3a0c6e37ba8aabb776824100cec2f /include
parent8dc196f2fa8e2ea5a0fd6aab58475aa88dd3c45e (diff)
downloadfsf-binutils-gdb-01a8c731aacbdbed0eb5682d13cc074dc7e25fb3.zip
fsf-binutils-gdb-01a8c731aacbdbed0eb5682d13cc074dc7e25fb3.tar.gz
fsf-binutils-gdb-01a8c731aacbdbed0eb5682d13cc074dc7e25fb3.tar.bz2
elf: Use official name LoongArch for EM_LOONGARCH.
The official name for Loongson Architecture is LoongArch, it is better to use LoongArch instead of Loongson Loongarch for EM_LOONGARCH to avoid confusion and keep consistent with the various of software in the future. The official documentation in Chinese: http://www.loongson.cn/uploadfile/cpu/LoongArch.pdf The translated version in English: https://loongson.github.io/LoongArch-Documentation/ binutils/ * readelf.c (get_machine_name): Change Loongson Loongarch to LoongArch. include/ * elf/common.h (EM_LOONGARCH): Change Loongson Loongarch to LoongArch.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/elf/common.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index fdb2a7b..abe63e5 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-23 Tiezhu Yang <yangtiezhu@loongson.cn>
+
+ * elf/common.h (EM_LOONGARCH): Change Loongson Loongarch to
+ LoongArch.
+
2021-05-21 Luis Machado <luis.machado@linaro.org>
* elf/common.h (NT_MEMTAG): New constant.
diff --git a/include/elf/common.h b/include/elf/common.h
index 234aef0..24d0a09 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -352,7 +352,7 @@
#define EM_ARC_COMPACT3 255 /* Synopsys ARCv2.3 32-bit */
#define EM_KVX 256 /* Kalray VLIW core of the MPPA processor family */
#define EM_65816 257 /* WDC 65816/65C816 */
-#define EM_LOONGARCH 258 /* Loongson Loongarch */
+#define EM_LOONGARCH 258 /* LoongArch */
#define EM_KF32 259 /* ChipON KungFu32 */
/* If it is necessary to assign new unofficial EM_* values, please pick large