1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 08:57:35 +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:
Itamar 2020-10-17 14:39:36 +03:00 committed by Andreas Kling
parent c917fcbac4
commit efe4da57df
28 changed files with 401 additions and 173 deletions

View file

@ -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;