mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibC: Link statically with libstdc++
This allows us to have the implementation of __cxa_demangle in libc.so.
This commit is contained in:
@@ -420,11 +420,6 @@ Elf32_Addr DynamicObject::patch_plt_entry(u32 relocation_offset)
|
||||
ASSERT(relocation.type() == R_386_JMP_SLOT);
|
||||
|
||||
auto sym = relocation.symbol();
|
||||
if (StringView { sym.name() } == "__cxa_demangle") {
|
||||
dbgln("__cxa_demangle is currently not supported for shared objects");
|
||||
// FIXME: Where is it defined?
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
u8* relocation_address = relocation.address().as_ptr();
|
||||
auto res = lookup_symbol(sym);
|
||||
|
||||
Reference in New Issue
Block a user