elf: Update list of RISC-V relocations
authorAndreas Schwab <schwab@suse.de>
Thu, 22 Jun 2023 10:16:33 +0000 (12:16 +0200)
committerAndreas Schwab <schwab@suse.de>
Mon, 26 Jun 2023 14:11:16 +0000 (16:11 +0200)
elf/elf.h

index ac7032b..89fc802 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -4002,8 +4002,11 @@ enum
 #define R_RISCV_SET32          56
 #define R_RISCV_32_PCREL       57
 #define R_RISCV_IRELATIVE      58
+#define R_RISCV_PLT32          59
+#define R_RISCV_SET_ULEB128    60
+#define R_RISCV_SUB_ULEB128    61
 
-#define R_RISCV_NUM            59
+#define R_RISCV_NUM            62
 
 /* RISC-V specific values for the st_other field.  */
 #define STO_RISCV_VARIANT_CC   0x80    /* Function uses variant calling