mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibELF+LibSymbolication: Remove i686 support
This commit is contained in:
@@ -484,11 +484,7 @@ NonnullRefPtr<DynamicObject> DynamicObject::create(DeprecatedString const& filep
|
||||
VirtualAddress DynamicObject::patch_plt_entry(u32 relocation_offset)
|
||||
{
|
||||
auto relocation = plt_relocation_section().relocation_at_offset(relocation_offset);
|
||||
#if ARCH(I386)
|
||||
VERIFY(relocation.type() == R_386_JMP_SLOT);
|
||||
#else
|
||||
VERIFY(relocation.type() == R_X86_64_JUMP_SLOT);
|
||||
#endif
|
||||
auto symbol = relocation.symbol();
|
||||
auto relocation_address = (FlatPtr*)relocation.address().as_ptr();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user