Skip to content

Commit

Permalink
Fix ELF_R_GENERIC_GLOB_DAT for riscv
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Mar 26, 2024
1 parent cd22803 commit a674793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsplt/src/main/jni/elf_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define ELF_R_GENERIC_ABS R_X86_64_64
#elif defined(__riscv)
#define ELF_R_GENERIC_JUMP_SLOT R_RISCV_JUMP_SLOT
#define ELF_R_GENERIC_GLOB_DAT R_RISCV_32_PCREL
#define ELF_R_GENERIC_GLOB_DAT R_RISCV_64
#define ELF_R_GENERIC_ABS R_RISCV_64
#endif

Expand Down

0 comments on commit a674793

Please sign in to comment.