From ec44e1efcdbd797c26d420de6ebb95f99df7108b Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 12 Feb 2020 01:10:19 -0500 Subject: elf.h: Add R_RISCV_IRELATIVE The number has been officially assigned by https://github.com/riscv/riscv-elf-psabi-doc/pull/131 https://github.com/riscv/riscv-elf-psabi-doc/commit/d21ca40a7f56812a15e97450b7bc1599c0d35b82 --- elf/elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elf/elf.h b/elf/elf.h index 2549a177d6..ab8930463c 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -3946,8 +3946,9 @@ enum #define R_RISCV_SET16 55 #define R_RISCV_SET32 56 #define R_RISCV_32_PCREL 57 +#define R_RISCV_IRELATIVE 58 -#define R_RISCV_NUM 58 +#define R_RISCV_NUM 59 /* BPF specific declarations. */ -- cgit v1.2.3-70-g09d2