Browse Source

run ctors/dtors for shared objects loaded with dlopen

Rich Felker 13 years ago
parent
commit
ce4d97e3dc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ldso/dynlink.c

+ 1 - 0
src/ldso/dynlink.c

@@ -655,6 +655,7 @@ void *dlopen(const char *file, int mode)
 		p->global = 1;
 	}
 
+	do_init_fini(tail);
 end:
 	pthread_rwlock_unlock(&lock);
 	return p;