LoongArch: elf: Add new LoongArch reloc types 109 into elf.h
authorcaiyinyu <caiyinyu@loongson.cn>
Mon, 14 Aug 2023 07:34:08 +0000 (15:34 +0800)
committercaiyinyu <caiyinyu@loongson.cn>
Mon, 14 Aug 2023 07:36:42 +0000 (15:36 +0800)
These reloc types are generated by GNU assembler >= 2.41 for relaxation
support.

elf/elf.h

index d623bde..9c51073 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -4213,6 +4213,7 @@ enum
 #define R_LARCH_SUB6 106
 #define R_LARCH_ADD_ULEB128 107
 #define R_LARCH_SUB_ULEB128 108
+#define R_LARCH_64_PCREL 109
 
 /* ARC specific declarations.  */