mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-11 08:15:36 +00:00
RISC-V support
With some addition to macros the project is able to build on riscv64 machine. plthook has added RISC-V support upstream [1]. However upstream has changed their code quite a bit, so I just modified the current vendored version. [1]: https://github.com/kubo/plthook/commit/a564738a4707fc5eb4d388b9e97eeab51b8c9d56
This commit is contained in:
committed by
Baldur Karlsson
parent
2886f4a282
commit
f36d8a3b23
+3
@@ -95,6 +95,9 @@
|
||||
#elif defined __powerpc__
|
||||
#define R_JUMP_SLOT R_PPC_JMP_SLOT
|
||||
#define Elf_Plt_Rel Elf_Rela
|
||||
#elif defined __riscv
|
||||
#define R_JUMP_SLOT R_RISCV_JUMP_SLOT
|
||||
#define Elf_Plt_Rel Elf_Rela
|
||||
#elif 0 /* disabled because not tested */ && (defined __sparcv9 || defined __sparc_v9__)
|
||||
#define R_JUMP_SLOT R_SPARC_JMP_SLOT
|
||||
#define Elf_Plt_Rel Elf_Rela
|
||||
|
||||
Reference in New Issue
Block a user