aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2025-02-02 20:10:09 +0100
committerFlorian Weimer <fweimer@redhat.com>2025-02-02 20:10:09 +0100
commitd12cb8e45232f11ee77f8b6d8cd71cc96fbff4a4 (patch)
tree9a8183abdca87c4043bfb63add0533042442d47c /include
parent749310c61b66aa2af0422db25686440b64a14800 (diff)
downloadglibc-d12cb8e45232f11ee77f8b6d8cd71cc96fbff4a4.tar.xz
glibc-d12cb8e45232f11ee77f8b6d8cd71cc96fbff4a4.zip
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).
Diffstat (limited to 'include')
-rw-r--r--include/set-freeres.h1
1 files changed, 0 insertions, 1 deletions
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;