From 98023d950d9623984072976f57f59e7d6f8e007f Mon Sep 17 00:00:00 2001 From: Michal Biesek Date: Wed, 16 Aug 2023 00:35:05 +0200 Subject: [PATCH] elf.h: Update `RISC-V` relocations glibc: commit: 6f962278e24bdf5cb5f310c5a17add41da95407c Signed-off-by: Michal Biesek --- src/elf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/elf.h b/src/elf.h index ac7032b7..89fc8021 100644 --- a/src/elf.h +++ b/src/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