]> git.ipfire.org Git - thirdparty/grub.git/commit
elf: Add LoongArch definitions
authorXiaotian Wu <wuxiaotian@loongson.cn>
Thu, 27 Apr 2023 07:43:01 +0000 (15:43 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 17 May 2023 10:47:04 +0000 (12:47 +0200)
commit00db303c680b4851597b2034980a7268ae080093
tree368293888ab2d4031abb0ed32f633c20cf22a65b
parentcebbfc71df8b5d4b4eb5f370cc6955d0f19c8ed1
elf: Add LoongArch definitions

Add ELF e_machine ID [1] and relocations types [2] for LoongArch to
the current in-repo definitions.

[1] https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html#_e_machine_identifies_the_machine
[2] https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html#_relocations

Signed-off-by: Zhou Yang <zhouyang@loongson.cn>
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/elf.h