]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf.h: Add R_RISCV_IRELATIVE
authorFangrui Song <maskray@google.com>
Wed, 12 Feb 2020 06:10:19 +0000 (01:10 -0500)
committerDJ Delorie <dj@redhat.com>
Wed, 12 Feb 2020 06:14:38 +0000 (01:14 -0500)
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

index 2549a177d6ea17523c2bed6868a67c89a5f40c2b..ab8930463c672bda0060291a649fc035fb155628 100644 (file)
--- 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.  */