summaryrefslogtreecommitdiff
path: root/src/exit
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 /src/exit
parentb7c683be35586f671d91c9883c9a41920938df9b (diff)
downloadmusl-14f2e115c2a1ee473ec8f28b1e804329f6a4d765.tar.gz
musl-14f2e115c2a1ee473ec8f28b1e804329f6a4d765.tar.bz2
musl-14f2e115c2a1ee473ec8f28b1e804329f6a4d765.tar.xz
musl-14f2e115c2a1ee473ec8f28b1e804329f6a4d765.zip
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..
Diffstat (limited to 'src/exit')
-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;