From 4b88ccbc79cc67145f4c2111b5ebb5f0fd95bfba Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Fri, 8 May 2020 22:21:56 +0000 Subject: [PATCH] Sync relocation definitions Add the most recent relocation types from the RISC-V ELF psABI spec. MFC after: 3 days --- sys/sys/elf_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index d6b0f71adbd..c17f82e3b04 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -1342,6 +1342,8 @@ typedef struct { #define R_RISCV_SET8 54 #define R_RISCV_SET16 55 #define R_RISCV_SET32 56 +#define R_RISCV_32_PCREL 57 +#define R_RISCV_IRELATIVE 58 #define R_SPARC_NONE 0 #define R_SPARC_8 1