add dummy __cxa_finalize
authorRich Felker <dalias@aerifal.cx>
Sat, 15 Oct 2011 03:31:04 +0000 (23:31 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 15 Oct 2011 03:31:04 +0000 (23:31 -0400)
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..

src/exit/atexit.c

index c613d85..9d9c2fb 100644 (file)
@@ -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;
 int __cxa_atexit(void (*func)(void *), void *arg, void *dso)
 {
        int i;