glibc/intl
Adhemerval Zanella Netto 88677348b4 Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions
They are both used by __libc_freeres to free all library malloc
allocated resources to help tooling like mtrace or valgrind with
memory leak tracking.

The current scheme uses assembly markers and linker script entries
to consolidate the free routine function pointers in the RELRO segment
and to be freed buffers in BSS.

This patch changes it to use specific free functions for
libc_freeres_ptrs buffers and call the function pointer array directly
with call_function_static_weak.

It allows the removal of both the internal macros and the linker
script sections.

Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2023-03-27 13:57:55 -03:00
..
bindtextdom.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dcgettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dcigettext.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
dcngettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Depend Update. 2000-06-17 07:39:18 +00:00
dgettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dngettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
eval-plural.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
explodename.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
finddomain.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
gettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gettextP.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gmo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
hash-string.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
hash-string.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
l10nflist.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libintl.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
loadinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
loadmsgcat.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
locale.alias Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
localealias.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
Makefile Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ngettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
plural-exp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
plural-exp.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
plural.y Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
po2test.awk Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
textdomain.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
translit.po Update. 2000-11-02 07:51:38 +00:00
tst-codeset.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext2.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext4-de.po * sysdeps/i386/i686/memcmp.S: Move misplaced END. 2005-04-28 18:21:03 +00:00
tst-gettext4-fr.po * sysdeps/i386/i686/memcmp.S: Move misplaced END. 2005-04-28 18:21:03 +00:00
tst-gettext4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext4.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext6.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gettext.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-ngettext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-translit.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-translit.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tstcodeset.po Update. 2001-04-10 00:15:08 +00:00
tstlang1.po Update. 2000-10-31 03:10:13 +00:00
tstlang2.po Update. 2000-10-31 03:10:13 +00:00
Versions Update. 2002-05-01 17:09:58 +00:00