From 6f962278e24bdf5cb5f310c5a17add41da95407c Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 22 Jun 2023 12:16:33 +0200 Subject: elf: Update list of RISC-V relocations --- elf/elf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'elf/elf.h') diff --git a/elf/elf.h b/elf/elf.h index ac7032b7a5..89fc8021e9 100644 --- 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 -- cgit 1.4.1