diff mbox

elf.h: Add R_RISCV_IRELATIVE

Message ID 20200212053458.s5y25bv262zemycd@google.com
State New
Headers show

Commit Message

Fangrui Song Feb. 12, 2020, 5:34 a.m. UTC
The number has been officially assigned by
https://github.com/riscv/riscv-elf-psabi-doc/pull/131
---
 elf/elf.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

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.  */