am d386afcc: revert to previous implementation of __aeabi_atexit() since the new one seems to crash a static ICU String destructor. I don\'t have the time to investigate why right now, so a revert is preferred. Damn...
Merge commit 'd386afcc41e92c96778d9b1a498199f48fa2d4aa'
* commit 'd386afcc41e92c96778d9b1a498199f48fa2d4aa':
revert to previous implementation of __aeabi_atexit() since the new one seems to crash a static ICU String destructor.
diff --git a/libc/bionic/eabi.c b/libc/bionic/eabi.c
index 21d8537..2e0c99c 100644
--- a/libc/bionic/eabi.c
+++ b/libc/bionic/eabi.c
@@ -37,7 +37,8 @@
int __attribute__((weak))
__aeabi_atexit (void *object, void (*destructor) (void *), void *dso_handle)
{
- return __cxa_atexit(destructor, object, dso_handle);
+ return 0;
+ //return __cxa_atexit(destructor, object, dso_handle);
}