1
0
Эх сурвалжийг харах

add dummy __cxa_finalize

musl's dynamic linker does not support unloading dsos, so there's
nothing for this function to do. adding the symbol in case anything
depends on its presence..
Rich Felker 13 жил өмнө
parent
commit
14f2e115c2
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      src/exit/atexit.c

+ 4 - 0
src/exit/atexit.c

@@ -33,6 +33,10 @@ void __funcs_on_exit()
 	}
 }
 
+void __cxa_finalize(void *dso)
+{
+}
+
 int __cxa_atexit(void (*func)(void *), void *arg, void *dso)
 {
 	int i;