[PATCH] elf: Introduce to _dl_call_fini

Andreas Schwab schwab@suse.de
Thu Oct 13 12:03:38 GMT 2022


On Okt 13 2022, Florian Weimer via Libc-alpha wrote:

> This consolidates the destructor invocations from _dl_fini and
> dlclose.  Remove the micro-optimization that avoids
> calling _dl_call_fini if they are no destructors (as dlclose is quite
> expensive anyway).

This also changes whether to print the debug message.

> @@ -53,6 +53,7 @@ routines = \
>  # profiled libraries.
>  dl-routines = \
>    dl-call-libc-early-init \
> +  dl-call_fini \

Convention is to use dashes in file names.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list