mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
linker: Set rela bits for all symbol types
This commit is contained in:
parent
11bfdf2348
commit
73d60b7e8d
3 changed files with 6 additions and 2 deletions
|
@ -150,11 +150,13 @@ void Linker::Relocate(Module* module) {
|
|||
case R_X86_64_RELATIVE:
|
||||
rel_value = rel_base_virtual_addr + addend;
|
||||
rel_is_resolved = true;
|
||||
module->SetRelaBit(bit_idx);
|
||||
break;
|
||||
case R_X86_64_DTPMOD64:
|
||||
rel_value = static_cast<u64>(module->tls.modid);
|
||||
rel_is_resolved = true;
|
||||
rel_sym_type = Loader::SymbolType::Tls;
|
||||
module->SetRelaBit(bit_idx);
|
||||
break;
|
||||
case R_X86_64_GLOB_DAT:
|
||||
case R_X86_64_JUMP_SLOT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue