From d12cb8e45232f11ee77f8b6d8cd71cc96fbff4a4 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 2 Feb 2025 20:10:09 +0100 Subject: elf: Merge __dl_libc_freemem into __rtld_libc_freeres The functions serve very similar purposes. The advantage of __rtld_libc_freeres is that it is located within ld.so, so it is more natural to poke at link map internals there. This slightly regresses cleanup capabilities for statically linked binaries. If that becomes a problem, we should start calling __rtld_libc_freeres from __libc_freeres (perhaps after renaming it). --- include/set-freeres.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/set-freeres.h b/include/set-freeres.h index bb1d0a8f72..0fb25827ec 100644 --- a/include/set-freeres.h +++ b/include/set-freeres.h @@ -38,7 +38,6 @@ Each free routines must be explicit listed below. */ /* From libc.so. */ -extern void __dl_libc_freemem (void) attribute_hidden; extern void __hdestroy (void) attribute_hidden; extern void __gconv_cache_freemem (void) attribute_hidden; extern void __gconv_conf_freemem (void) attribute_hidden; -- cgit v1.2.3