Skip to content

Commit

Permalink
elf.h: Update RISC-V relocations
Browse files Browse the repository at this point in the history
glibc: commit: 6f962278e24bdf5cb5f310c5a17add41da95407c

Signed-off-by: Michal Biesek <[email protected]>
  • Loading branch information
michalbiesek authored and Mic92 committed Nov 18, 2024
1 parent b9976d6 commit ace831c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ace831c

Please sign in to comment.