initial work on relocations

This commit is contained in:
georgemoralis 2023-07-04 18:34:23 +03:00
parent bc2facaee4
commit 6717482662
3 changed files with 26 additions and 0 deletions

View file

@ -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;