mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
LibELF: Add stub for R_X86_64_TPOFF64
This commit is contained in:
parent
df9e73de25
commit
5afec84cc2
2 changed files with 8 additions and 0 deletions
|
@ -486,6 +486,13 @@ DynamicLoader::RelocationResult DynamicLoader::do_relocation(const ELF::DynamicO
|
|||
*patch_ptr = negative_offset_from_tls_block_end(res.value().value, dynamic_object_of_symbol->tls_offset().value(), res.value().size);
|
||||
break;
|
||||
}
|
||||
#else
|
||||
case R_X86_64_TPOFF64:
|
||||
dbgln("FIXME: Patched R_X86_64_TPOFF64 relocation with invalid ptr.");
|
||||
*patch_ptr = 0xaaaaaaaaaaaaaaaa;
|
||||
break;
|
||||
#endif
|
||||
#ifndef __LP64__
|
||||
case R_386_JMP_SLOT: {
|
||||
#else
|
||||
case R_X86_64_JUMP_SLOT: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue