LoongArch: Add new relocation R_LARCH_CALL36
R_LARCH_CALL36 is used for medium code model function call pcaddu18i+jirl, and these two instructions must adjacent. The LoongArch ABI v2.20 at here: https://github.com/loongson/la-abi-specs.
This commit is contained in:
committed by
liuzhensong
parent
d51cd0f64c
commit
dc5f359ed6
@@ -251,6 +251,8 @@ RELOC_NUMBER (R_LARCH_SUB_ULEB128, 108)
|
||||
|
||||
RELOC_NUMBER (R_LARCH_64_PCREL, 109)
|
||||
|
||||
RELOC_NUMBER (R_LARCH_CALL36, 110)
|
||||
|
||||
END_RELOC_NUMBERS (R_LARCH_count)
|
||||
|
||||
/* Processor specific flags for the ELF header e_flags field. */
|
||||
|
||||
Reference in New Issue
Block a user