LoongArch: include: Add support for linker relaxation.
authormengqinggang <mengqinggang@loongson.cn>
Thu, 1 Dec 2022 06:34:10 +0000 (14:34 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Tue, 30 May 2023 11:56:40 +0000 (19:56 +0800)
commit57a930e3bfe4b2c7fd6463ed39311e1938513138
tree220687a30b5c57cbc3283bae2e189ea628e44ce3
parent7b9e7db08340cb3934a5fa95503fda523e0917b7
LoongArch: include: Add support for linker relaxation.

Add relocs and gas LARCH_opts.relax option.

include/ChangeLog:

* elf/loongarch.h: Add relocs.
* opcode/loongarch.h: Add LARCH_opts.relax and macro LARCH_NOP.
include/elf/loongarch.h
include/opcode/loongarch.h