e5678be828
functions are used for destructors of thread_local objects. If a pending destructor exists, prevent unloading of shared objects. Introduce __dl_cxa_refcount interface for this purpose. When the last reference is gone and the object has been dlclose'd before, the unloading is finalized. Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists on providing __cxa_thread_atexit as direct wrapper without further patching.
28 lines
410 B
Plaintext
28 lines
410 B
Plaintext
{
|
|
global:
|
|
dlopen;
|
|
__dlopen;
|
|
dlclose;
|
|
__dlclose;
|
|
dlsym;
|
|
__dlsym;
|
|
dlvsym;
|
|
__dlvsym;
|
|
dlerror;
|
|
__dlerror;
|
|
dladdr;
|
|
__dladdr;
|
|
dlinfo;
|
|
__dlinfo;
|
|
dl_iterate_phdr;
|
|
____dl_iterate_phdr;
|
|
_dlauxinfo;
|
|
_rtld_tls_allocate;
|
|
_rtld_tls_free;
|
|
__tls_get_addr;
|
|
___tls_get_addr;
|
|
__gnu_Unwind_Find_exidx;
|
|
__dl_cxa_refcount;
|
|
local: *;
|
|
};
|