mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-30 23:33:17 +00:00
progress in relocations
This commit is contained in:
parent
6717482662
commit
0edc265dc2
3 changed files with 69 additions and 11 deletions
|
@ -442,6 +442,9 @@ struct elf_relocation
|
|||
u64 rel_info;
|
||||
s64 rel_addend;
|
||||
};
|
||||
constexpr u32 R_X86_64_64 = 1; // Direct 64 bit
|
||||
constexpr u32 R_X86_64_JUMP_SLOT = 7; // Create PLT entry
|
||||
constexpr u32 R_X86_64_RELATIVE = 8; // Adjust by program base
|
||||
|
||||
class Elf
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue