mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-20 18:34:58 +00:00
initial PT_TLS support
This commit is contained in:
parent
b6d98d4b72
commit
af18453950
2 changed files with 15 additions and 20 deletions
|
@ -43,6 +43,11 @@ struct LibraryInfo {
|
|||
std::string enc_id;
|
||||
};
|
||||
|
||||
struct PS4ThreadLocal {
|
||||
u64 image_virtual_addr = 0;
|
||||
u64 image_size = 0;
|
||||
u64 handler_virtual_addr = 0;
|
||||
};
|
||||
struct DynamicModuleInfo {
|
||||
void* hash_table = nullptr;
|
||||
u64 hash_table_size = 0;
|
||||
|
@ -99,6 +104,8 @@ struct Module {
|
|||
|
||||
Loader::SymbolsResolver export_sym;
|
||||
Loader::SymbolsResolver import_sym;
|
||||
|
||||
PS4ThreadLocal tls;
|
||||
};
|
||||
|
||||
class Linker {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue