Skip to content

Commit ace831c

Browse files
michalbiesekMic92
authored andcommitted
elf.h: Update RISC-V relocations
glibc: commit: 6f962278e24bdf5cb5f310c5a17add41da95407c Signed-off-by: Michal Biesek <[email protected]>
1 parent b9976d6 commit ace831c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/elf.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4002,8 +4002,11 @@ enum
40024002
#define R_RISCV_SET32 56
40034003
#define R_RISCV_32_PCREL 57
40044004
#define R_RISCV_IRELATIVE 58
4005+
#define R_RISCV_PLT32 59
4006+
#define R_RISCV_SET_ULEB128 60
4007+
#define R_RISCV_SUB_ULEB128 61
40054008

4006-
#define R_RISCV_NUM 59
4009+
#define R_RISCV_NUM 62
40074010

40084011
/* RISC-V specific values for the st_other field. */
40094012
#define STO_RISCV_VARIANT_CC 0x80 /* Function uses variant calling

0 commit comments

Comments
 (0)