aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authormengqinggang <mengqinggang@loongson.cn>2023-09-28 16:41:15 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-12-18 18:36:21 +0800
commitdc5f359ed6a36d2c895d89c3e4886f3a2b6d9232 (patch)
treeca60c74de15fdc76c54e8eb3a7d881078f3585d7 /bfd/bfd-in2.h
parentd51cd0f64c6d3bd235f140ed71cc2c3e0b87a5ff (diff)
downloadbinutils-dc5f359ed6a36d2c895d89c3e4886f3a2b6d9232.zip
binutils-dc5f359ed6a36d2c895d89c3e4886f3a2b6d9232.tar.gz
binutils-dc5f359ed6a36d2c895d89c3e4886f3a2b6d9232.tar.bz2
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.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 2807e69..53c40ec 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -7460,6 +7460,7 @@ enum bfd_reloc_code_real
BFD_RELOC_LARCH_ADD_ULEB128,
BFD_RELOC_LARCH_SUB_ULEB128,
BFD_RELOC_LARCH_64_PCREL,
+ BFD_RELOC_LARCH_CALL36,
BFD_RELOC_UNUSED
};
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;