glibc/malloc
Ulrich Drepper bfc832ccf1 * elf/dl-close.c: Include stddef.h.
(_dl_close): If called recursively, just remember GC needs to be rerun
	and decrease l_direct_opencount.  Avoid GC if l_direct_opencount
	decreased to 1.  Rerun GC at the end if any destructor unloaded some
	additional libraries.
	* elf/Makefile: Add rules to build and run unload6 test.
	* elf/unload6.c: New test.
	* elf/unload6mod1.c: New file.
	* elf/unload6mod2.c: New file.
	* elf/unload6mod3.c: New file.

	* malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
	if magic_p is not NULL.
	(top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
	(malloc_check): Fail if sz == -1.
	(free_check): Adjust mem2chunk_check caller.
	(realloc_check): Likewise.  Fail if bytes == -1.  If bytes == 0 and
	oldmem != NULL, call free_check and return NULL.  If reallocating
	and returning NULL, invert magic byte again to make oldmem valid
	region for further checking.
	(memalign_check): Fail if bytes == -1.
	* malloc/Makefile: Add rules to build and run tst-mcheck.
	* malloc/tst-mcheck.c: New test.
2005-04-27 01:39:11 +00:00
..
arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call mallopt appropriately. 2005-03-08 00:44:05 +00:00
Depend Update. 1999-10-04 22:59:43 +00:00
hooks.c * elf/dl-close.c: Include stddef.h. 2005-04-27 01:39:11 +00:00
Makefile * elf/dl-close.c: Include stddef.h. 2005-04-27 01:39:11 +00:00
malloc.c * malloc/malloc.c (public_cALLOc): We cannot skip the memory 2005-03-20 18:09:53 +00:00
malloc.h * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call 2005-03-08 00:50:21 +00:00
mallocbug.c update from main archive 961207 1996-12-08 08:01:13 +00:00
mcheck-init.c Update. 2004-09-08 08:12:39 +00:00
mcheck.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mcheck.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
memusage.c 2.5-18.1 2007-07-12 18:26:36 +00:00
memusage.sh * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00
memusagestat.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mtrace.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mtrace.pl * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00
obstack.c 2.5-18.1 2007-07-12 18:26:36 +00:00
obstack.h 2.5-18.1 2007-07-12 18:26:36 +00:00
set-freeres.c Update. 2003-03-21 08:03:25 +00:00
thread-freeres.c * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. 2003-02-22 01:58:06 +00:00
tst-calloc.c Add tests for one or both parameters being zero. 2002-08-07 23:06:11 +00:00
tst-malloc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tst-mallocstate.c Update. 2002-01-29 07:54:51 +00:00
tst-mcheck.c * elf/dl-close.c: Include stddef.h. 2005-04-27 01:39:11 +00:00
tst-mtrace.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-mtrace.sh 2.5-18.1 2007-07-12 18:26:36 +00:00
tst-obstack.c Update. 2000-11-20 17:40:29 +00:00
tst-valloc.c Update. 2000-11-20 17:40:29 +00:00
Versions * malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres. 2003-02-22 00:55:36 +00:00