2002-10-30 Jakub Jelinek <jakub@redhat.com>
authorroland <roland>
Fri, 1 Nov 2002 20:43:53 +0000 (20:43 +0000)
committerroland <roland>
Fri, 1 Nov 2002 20:43:53 +0000 (20:43 +0000)
commit299a51c2e50579130cd0aa3f80e3e0227577697f
treeae455d5ba7e486693ba722d4a290f9a4c240a4be
parent28da283bf580dac12e61359e1506ce270ecc7c70
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
New macros.
* elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
text_set_element.
* elf/dl-libc.c (free_mem): Likewise.
* iconv/gconv_conf.c (free_mem): Likewise.
* iconv/gconv_db.c (free_mem): Likewise.
* iconv/gconv_dl.c (free_mem): Likewise.
* iconv/gconv_cache.c (free_mem): Likewise.
* intl/finddomain.c (free_mem): Likewise.
* intl/dcigettext.c (free_mem): Likewise.
* locale/setlocale.c (free_mem): Likewise.
* misc/fstab.c (fstab_free): Likewise.
* nss/nsswitch.c (free_mem): Likewise.
* posix/regcomp.c (free_mem): Likewise.
* resolv/gai_misc.c (free_res): Likewise.
* stdlib/fmtmsg.c (free_mem): Likewise.
* sunrpc/clnt_perr.c (free_mem): Likewise.
* sysdeps/generic/setenv.c (free_mem): Likewise.
* sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
* sysdeps/pthread/aio_misc.c (free_res): Likewise.
* time/tzset.c (free_mem): Likewise.
* malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
* locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
* malloc/set-freeres.c (__libc_freeres): Likewise.
20 files changed:
elf/dl-close.c
elf/dl-libc.c
iconv/gconv_cache.c
iconv/gconv_conf.c
iconv/gconv_db.c
iconv/gconv_dl.c
intl/dcigettext.c
intl/finddomain.c
locale/loadarchive.c
locale/setlocale.c
misc/fstab.c
nss/nsswitch.c
posix/regcomp.c
resolv/gai_misc.c
stdlib/fmtmsg.c
sunrpc/clnt_perr.c
sysdeps/generic/setenv.c
sysdeps/pthread/aio_misc.c
sysdeps/unix/sysv/linux/shm_open.c
time/tzset.c