NetBSD/libexec/ld.elf_so/symbols.map
joerg e5678be828 Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
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.
2017-07-11 15:21:31 +00:00

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: *;
};