mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
remove stub-out for SetTcbBase
This commit is contained in:
parent
41193b6a83
commit
0c106e0238
@ -119,9 +119,7 @@ void Linker::Execute() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __x86_64__
|
|
||||||
SetTcbBase(nullptr);
|
SetTcbBase(nullptr);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 Linker::LoadModule(const std::filesystem::path& elf_name, bool is_dynamic) {
|
s32 Linker::LoadModule(const std::filesystem::path& elf_name, bool is_dynamic) {
|
||||||
@ -409,10 +407,8 @@ void Linker::InitTlsForThread(bool is_primary) {
|
|||||||
tcb->tcb_dtv[module->tls.modid + 1].pointer = dest;
|
tcb->tcb_dtv[module->tls.modid + 1].pointer = dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __x86_64__
|
|
||||||
// Set pointer to FS base
|
// Set pointer to FS base
|
||||||
SetTcbBase(tcb);
|
SetTcbBase(tcb);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Linker::DebugDump() {
|
void Linker::DebugDump() {
|
||||||
|
Loading…
Reference in New Issue
Block a user