6a9b888d7c
With this patch, _and_ an upcoming build/ patch, the destruction of static C++ objects contained in shared libraries will happen properly when dlclose() is called. Note that this change introduces crtbegin_so.S and crtend_so.S which are currently ignored by the build system. + move definition of __dso_handle to the right place (before that, all shared libraries used the __dso_handle global variable from the C library). Note that we keep a 'weak' __dso_handle in aeabi.c to avoid breaking the build until the next patch to build/core/combo/ appears. We will be able to remove that later. + move bionic/aeabi.c to arch-arm/bionic/ (its proper location) Change-Id: Ie771aa204e3acbdf02fd30ebd4150373a1398f39 NOTE: The NDK will need to be modified to enable this feature in the shared libraries that are generated through it. |
||
---|---|---|
.. | ||
__get_pc.S | ||
__get_sp.S | ||
__get_tls.c | ||
__set_tls.c | ||
_exit_with_stack_teardown.S | ||
_setjmp.S | ||
atomic_cmpxchg.S | ||
atomics_sh.c | ||
bzero.S | ||
clone.S | ||
crtbegin_dynamic.S | ||
crtbegin_static.S | ||
crtend.S | ||
ffs.S | ||
memcpy.S | ||
memmove.S | ||
memset.S | ||
pipe.S | ||
setjmp.S | ||
sigsetjmp.S | ||
syscall.S | ||
unwind.c |