mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
Loader: Stabilize loader & Use shared libraries everywhere :^)
The dynamic loader is now stable enough to be used everywhere in the system - so this commit does just that. No More .a Files, Long Live .so's!
This commit is contained in:
parent
c917fcbac4
commit
efe4da57df
28 changed files with 401 additions and 173 deletions
|
@ -422,8 +422,6 @@ void* Process::sys$allocate_tls(size_t size)
|
|||
{
|
||||
REQUIRE_PROMISE(stdio);
|
||||
|
||||
dbg() << "allocate TLS: " << size;
|
||||
|
||||
if (!size)
|
||||
return (void*)-EINVAL;
|
||||
|
||||
|
@ -445,7 +443,6 @@ void* Process::sys$allocate_tls(size_t size)
|
|||
return (void*)-EFAULT;
|
||||
|
||||
m_master_tls_region = tls_region->make_weak_ptr();
|
||||
dbg() << "master_tls_region: " << m_master_tls_region->vaddr();
|
||||
m_master_tls_size = size;
|
||||
m_master_tls_alignment = PAGE_SIZE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue