elf: Use official name LoongArch for EM_LOONGARCH.
authorChenghua Xu <xuchenghua@loongson.cn>
Sun, 23 May 2021 02:16:36 +0000 (10:16 +0800)
committerChenghua Xu <xuchenghua@loongson.cn>
Sun, 23 May 2021 02:35:48 +0000 (10:35 +0800)
commit01a8c731aacbdbed0eb5682d13cc074dc7e25fb3
tree4bfe0ba5bee3a0c6e37ba8aabb776824100cec2f
parent8dc196f2fa8e2ea5a0fd6aab58475aa88dd3c45e
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.
binutils/ChangeLog
binutils/readelf.c
include/ChangeLog
include/elf/common.h