diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-02-06 17:57:29 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-02-06 17:57:29 -0500 |
commit | ce4d97e3dc0aaec915f500bc1ef955208a5ef4c2 (patch) | |
tree | ac19eef910fc617ec1ad1bf9e421026223cff5c7 /src/ldso | |
parent | 4ce3cb5cddda7b4ee9643e1f75ee5b8f1f191906 (diff) | |
download | musl-ce4d97e3dc0aaec915f500bc1ef955208a5ef4c2.tar.gz musl-ce4d97e3dc0aaec915f500bc1ef955208a5ef4c2.tar.xz musl-ce4d97e3dc0aaec915f500bc1ef955208a5ef4c2.zip |
run ctors/dtors for shared objects loaded with dlopen
Diffstat (limited to 'src/ldso')
-rw-r--r-- | src/ldso/dynlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |