about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-02-12 01:10:19 -0500
committerDJ Delorie <dj@redhat.com>2020-02-12 01:14:38 -0500
commitec44e1efcdbd797c26d420de6ebb95f99df7108b (patch)
tree667200d78be2f82f79f1213f3d4867e2dbc267e4 /elf
parenteb948facd894e66429e2e170043b7d36fe445a8d (diff)
downloadglibc-ec44e1efcdbd797c26d420de6ebb95f99df7108b.tar.gz
glibc-ec44e1efcdbd797c26d420de6ebb95f99df7108b.tar.xz
glibc-ec44e1efcdbd797c26d420de6ebb95f99df7108b.zip
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
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h3
1 files changed, 2 insertions, 1 deletions
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.  */