Fix missing symbols for ARM dynamic linking

This commit is contained in:
Wildan Mubarok
2025-12-10 13:16:16 +00:00
committed by Jeremy Soller
parent b8bae33fde
commit d6eaa0dbf9
3 changed files with 93 additions and 17 deletions
+2
View File
@@ -302,6 +302,8 @@ pub unsafe extern "C" fn __relibc_internal_pthread_cleanup_pop(execute: c_int) {
}
pub(crate) unsafe fn run_destructor_stack() {
unsafe { crate::cxa::__cxa_thread_finalize() };
let mut ptr = CLEANUP_LL_HEAD.get();
while !ptr.is_null() {