summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-10-14 23:31:04 -0400
committerRich Felker <dalias@aerifal.cx>2011-10-14 23:31:04 -0400
commit14f2e115c2a1ee473ec8f28b1e804329f6a4d765 (patch)
treee154a793f837406ac426a50b47c799447c993d69
parentb7c683be35586f671d91c9883c9a41920938df9b (diff)
downloadmusl-14f2e115c2a1ee473ec8f28b1e804329f6a4d765.tar.gz
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..
-rw-r--r--src/exit/atexit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exit/atexit.c b/src/exit/atexit.c
index c613d85b..9d9c2fbe 100644
--- a/src/exit/atexit.c
+++ b/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;