about summary refs log tree commit diff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2023-06-22 12:16:33 +0200
committerAndreas Schwab <schwab@suse.de>2023-06-26 16:11:16 +0200
commit6f962278e24bdf5cb5f310c5a17add41da95407c (patch)
tree229feab171c78e78e87dad8ec64521a201862939 /elf/elf.h
parent7c507f4473911a13273ac535b02fd55edc8e19f9 (diff)
downloadglibc-6f962278e24bdf5cb5f310c5a17add41da95407c.tar.gz
glibc-6f962278e24bdf5cb5f310c5a17add41da95407c.tar.xz
glibc-6f962278e24bdf5cb5f310c5a17add41da95407c.zip
elf: Update list of RISC-V relocations
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/elf/elf.h b/elf/elf.h
index ac7032b7a5..89fc8021e9 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -4002,8 +4002,11 @@ enum
 #define R_RISCV_SET32		56
 #define R_RISCV_32_PCREL	57
 #define R_RISCV_IRELATIVE	58
+#define R_RISCV_PLT32		59
+#define R_RISCV_SET_ULEB128	60
+#define R_RISCV_SUB_ULEB128	61
 
-#define R_RISCV_NUM		59
+#define R_RISCV_NUM		62
 
 /* RISC-V specific values for the st_other field.  */
 #define STO_RISCV_VARIANT_CC	0x80	/* Function uses variant calling