projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7c683b
)
add dummy __cxa_finalize
author
Rich Felker
<dalias@aerifal.cx>
Sat, 15 Oct 2011 03:31:04 +0000
(23:31 -0400)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/src/exit/atexit.c
b/src/exit/atexit.c
index c613d85baef81a5d366e557a3b20384db4eed946..9d9c2fbe6d9cac066c481cb267110de4d779fabe 100644
(file)
--- 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;