* dll_init.cc (dll_list::topsort): Fix early-return condition to

accommodate process with all runtime loaded DLLs already dlclosed
	at fork time.
	* gendef (_sigfe_maybe): Fix code handling early return if we don't
	have a tls, broken on 2013-05-21.
This commit is contained in:
Corinna Vinschen
2013-05-27 19:31:04 +00:00
parent 7e925d9ac1
commit 27a21b38c0
3 changed files with 13 additions and 5 deletions

View File

@@ -299,7 +299,7 @@ void
dll_list::topsort ()
{
/* Anything to do? */
if (!end)
if (!end || end == &start)
return;
/* make sure we have all the deps available */