mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 06:43:17 +00:00
initial work on relocations
This commit is contained in:
parent
bc2facaee4
commit
6717482662
3 changed files with 26 additions and 0 deletions
|
@ -435,6 +435,9 @@ struct elf_symbol
|
|||
|
||||
struct elf_relocation
|
||||
{
|
||||
u32 GetSymbol() const { return static_cast<u32>(rel_info >> 32u); }
|
||||
u32 GetType() const { return static_cast<u32>(rel_info & 0xffffffff); }
|
||||
|
||||
u64 rel_offset;
|
||||
u64 rel_info;
|
||||
s64 rel_addend;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue