[LoongArch] Define the LAELF v20230519 relocs
authorWANG Xuerui <git@xen0n.name>
Wed, 7 Jun 2023 03:16:02 +0000 (11:16 +0800)
committerWeining Lu <luweining@loongson.cn>
Wed, 7 Jun 2023 03:16:05 +0000 (11:16 +0800)
commitbb39a8aad12a4c93382e23a50004da6633156786
treeea3ed0186b695e613f5984bd11f6db77fd5646ab
parent84c033d9ba37ef51c0ca6e637ef954ed41d8c32d
[LoongArch] Define the LAELF v20230519 relocs

The LoongArch ELF psABI document has changed location and versioning
scheme; this revision is v2.10 in the old scheme. Notably this revision
brings initial capability of linker relaxation to LoongArch.

Reviewed By: SixWeining, MaskRay

Differential Revision: https://reviews.llvm.org/D152184
llvm/include/llvm/BinaryFormat/ELFRelocs/LoongArch.def
llvm/test/tools/llvm-readobj/ELF/reloc-types-loongarch64.test
llvm/unittests/Object/ELFTest.cpp