提交 ce4d97e3 编写于 作者: R Rich Felker

run ctors/dtors for shared objects loaded with dlopen

上级 4ce3cb5c
...@@ -655,6 +655,7 @@ void *dlopen(const char *file, int mode) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册