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:
Nekotekina 2018-08-12 15:20:10 +03:00
parent 359bfa88b7
commit 801089cf44

View file

@ -1319,6 +1319,7 @@ extern void ppu_initialize(const ppu_module& info)
if (auto sc = ppu_get_syscall(index))
{
link_table.emplace(fmt::format("%s", ppu_syscall_code(index)), (u64)sc);
link_table.emplace(fmt::format("syscall_%u", index), (u64)sc);
}
}