[PATCH] elf: Call __libc_early_init for reused namespaces (bug 29528)
Florian Weimer
fweimer@redhat.com
Fri Aug 26 18:11:00 GMT 2022
* H. J. Lu:
>> +static void __attribute__ ((constructor))
>> +init (void)
>> +{
>> + puts ("info: tst-dlmopen-twice-mod2.so loaded");
>
> Did you mean tst-dlmopen-twice-mod1.so?
>
>> + fflush (stdout);
>> +}
>> +
>> +static void __attribute__ ((destructor))
>> +fini (void)
>> +{
>> + puts ("info: tst-dlmopen-twice-mod2.so about to be unloaded");
>
> Likewise.
Thanks, I've sen't a second version.
Florian
More information about the Libc-alpha
mailing list