glibc/iconv
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
..
dummy-repertoire.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_builtin.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_builtin.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_cache.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
gconv_charset.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_charset.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_close.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_conf.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
gconv_db.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
gconv_dl.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
gconv_int.h iconv: Remove _STRING_ARCH_unaligned usage for get/set macros 2023-02-17 15:56:54 -03:00
gconv_open.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_parseconfdir.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv_simple.c iconv: Remove _STRING_ARCH_unaligned usage 2023-02-17 15:56:54 -03:00
gconv_trans.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gconv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_charmap.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_close.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_open.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv_prog.c Update copyright dates not handled by scripts/update-copyrights 2023-01-06 21:45:36 +00:00
iconv_prog.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
iconvconfig.c Update copyright dates not handled by scripts/update-copyrights 2023-01-06 21:45:36 +00:00
iconvconfig.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
loop.c iconv: Remove _STRING_ARCH_unaligned usage 2023-02-17 15:56:54 -03:00
Makefile Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
skeleton.c iconv: Remove _STRING_ARCH_unaligned usage 2023-02-17 15:56:54 -03:00
strtab.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-gconv-modules Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gconv-init-failure-mod.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gconv-init-failure.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv1.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-iconv2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv3.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-iconv4.c [BZ #9793] 2009-02-03 01:31:30 +00:00
tst-iconv5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv_prog.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv-mt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-iconv-opt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Versions intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00