run ctors/dtors for shared objects loaded with dlopen
This commit is contained in:
parent
4ce3cb5cdd
commit
ce4d97e3dc
1 changed files with 1 additions and 0 deletions
|
|
@ -655,6 +655,7 @@ void *dlopen(const char *file, int mode)
|
||||||
p->global = 1;
|
p->global = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_init_fini(tail);
|
||||||
end:
|
end:
|
||||||
pthread_rwlock_unlock(&lock);
|
pthread_rwlock_unlock(&lock);
|
||||||
return p;
|
return p;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue