cosmopolitan/libc/dlopen
Justine Tunney fad1279c61
Make cosmo_dlopen() safer and faster
If cosmo_dlopen() is linked on AMD64 then the runtime will switch to
using %gs for thread-local storage. This eliminates the need for the
imported symbol trampoline. It's now safer to pass function pointers
back and forth with imported libraries. Your program gets recompiled
at runtime to make it happen and the overhead is a few milliseconds.
2024-01-05 20:42:19 -08:00
..
BUILD.mk Support 40 cosmo_dlopen() function parameters 2024-01-04 13:41:26 -08:00
dlfcn.h Invent *cosmo_dltramp() function 2024-01-05 09:11:51 -08:00
dlopen.c Make cosmo_dlopen() safer and faster 2024-01-05 20:42:19 -08:00
foreign_tramp.S Support 40 cosmo_dlopen() function parameters 2024-01-04 13:41:26 -08:00
stubs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00