run ctors/dtors for shared objects loaded with dlopen

This commit is contained in:
Rich Felker 2012-02-06 17:57:29 -05:00
parent 4ce3cb5cdd
commit ce4d97e3dc

View File

@ -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;