From ce4d97e3dc0aaec915f500bc1ef955208a5ef4c2 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 6 Feb 2012 17:57:29 -0500 Subject: [PATCH] run ctors/dtors for shared objects loaded with dlopen --- src/ldso/dynlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index ca49f439..01c7f294 100644 --- a/src/ldso/dynlink.c +++ b/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; -- 2.25.1