PPU LLVM: always link syscall_## functions
Regardless of whether they have name or not Should fix "Linkage failed" errors introduced after #4886
This commit is contained in:
@@ -1319,6 +1319,7 @@ extern void ppu_initialize(const ppu_module& info)
|
|||||||
if (auto sc = ppu_get_syscall(index))
|
if (auto sc = ppu_get_syscall(index))
|
||||||
{
|
{
|
||||||
link_table.emplace(fmt::format("%s", ppu_syscall_code(index)), (u64)sc);
|
link_table.emplace(fmt::format("%s", ppu_syscall_code(index)), (u64)sc);
|
||||||
|
link_table.emplace(fmt::format("syscall_%u", index), (u64)sc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user