diff options
Diffstat (limited to 'Libraries/LibC/dlfcn.cpp')
-rw-r--r-- | Libraries/LibC/dlfcn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Libraries/LibC/dlfcn.cpp b/Libraries/LibC/dlfcn.cpp index 4fac569030..04f742fcc3 100644 --- a/Libraries/LibC/dlfcn.cpp +++ b/Libraries/LibC/dlfcn.cpp @@ -101,7 +101,9 @@ void* dlopen(const char* filename, int flags) return nullptr; } - if (!loader->load_from_image(flags)) { + if (!loader->load_from_image(flags, + 0 // total_tls_size = 0, FIXME: Support TLS when using dlopen() + )) { g_dlerror_msg = String::format("Failed to load ELF object %s", filename); return nullptr; } |