This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] elf.h: Add R_RISCV_IRELATIVE
- From: Fangrui Song <maskray at google dot com>
- To: libc-alpha at sourceware dot org
- Cc: Palmer Dabbelt <palmer at dabbelt dot com>
- Date: Tue, 11 Feb 2020 21:34:58 -0800
- Subject: [PATCH] elf.h: Add R_RISCV_IRELATIVE
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 --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. */
--
2.25.0