[uClibc-cvs] uClibc TODO,1.46,1.47

Erik Andersen andersen at uclibc.org
Wed Feb 11 11:03:35 UTC 2004


Update of /var/cvs/uClibc
In directory nail:/tmp/cvs-serv7054

Modified Files:
	TODO 
Log Message:
yet another todo item


Index: TODO
===================================================================
RCS file: /var/cvs/uClibc/TODO,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- TODO	11 Feb 2004 03:00:17 -0000	1.46
+++ TODO	11 Feb 2004 11:03:32 -0000	1.47
@@ -50,6 +50,15 @@
 	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.
+
 
 
 -----------------------------------------------------------------------------




More information about the uClibc-cvs mailing list