[2/2] backends: Update list of LoongArch relocations
Commit Message
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---
backends/loongarch_reloc.def | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
@@ -128,3 +128,20 @@ RELOC_TYPE (SUB6, REL)
RELOC_TYPE (ADD_ULEB128, REL)
RELOC_TYPE (SUB_ULEB128, REL)
RELOC_TYPE (64_PCREL, REL)
+RELOC_TYPE (CALL36, REL)
+RELOC_TYPE (TLS_DESC_PC_HI20, REL)
+RELOC_TYPE (TLS_DESC_PC_LO12, REL)
+RELOC_TYPE (TLS_DESC64_PC_LO20, REL)
+RELOC_TYPE (TLS_DESC64_PC_HI12, REL)
+RELOC_TYPE (TLS_DESC_HI20, REL)
+RELOC_TYPE (TLS_DESC_LO12, REL)
+RELOC_TYPE (TLS_DESC64_LO20, REL)
+RELOC_TYPE (TLS_DESC64_HI12, REL)
+RELOC_TYPE (TLS_DESC_LD, REL)
+RELOC_TYPE (TLS_DESC_CALL, REL)
+RELOC_TYPE (TLS_LE_HI20_R, REL)
+RELOC_TYPE (TLS_LE_ADD_R, REL)
+RELOC_TYPE (TLS_LE_LO12_R, REL)
+RELOC_TYPE (TLS_LD_PCREL20_S2, REL)
+RELOC_TYPE (TLS_GD_PCREL20_S2, REL)
+RELOC_TYPE (TLS_DESC_PCREL20_S2, REL)