diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-11 11:03:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-11 11:03:32 +0000 |
commit | be6ad2b28b471ab0c5374fb7434ef2e58e307f06 (patch) | |
tree | 6c16fca13443f42282101f5c26e9884cebf4e237 | |
parent | 93510ba9c807da9ed2ac9dce7447c12aebac90c4 (diff) |
yet another todo item
-rw-r--r-- | TODO | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -50,6 +50,15 @@ TODO list for the uClibc 1.0.0 release: memory for destructors, which happens since the dynamic linker calls atexit(), which calls malloc() prior to valgrind starting, so valgrind complains because it didn't see that memory allocated. + *) From the the ELF spec "...All shared object initializations happen + before the executable file gains control. ... Before the initialization + code for any object A is called, the initialization code for any other + objects that object A depends on are called. For these purposes, an object + A depends on another object B, if B appears in Ads list of needed objects + (recorded in the DT_NEEDED entries of the dynamic structure). The order of + initialization for circular dependencies is undefined." uClibc's shared + lib loader should be fixed to run ctors in the specified order. + ----------------------------------------------------------------------------- |