glibc/malloc
Roland McGrath 2fd4de4b15 [BZ #321]
2005-10-14  Paul Eggert  <eggert@cs.ucla.edu>
	* malloc/obstack.c: Fix old comments.  Update FSF snail mail address.
	* malloc/obstack.h: Likewise.

	[BZ #321]
	Fix portability bugs encountered when porting to Itanium.
	* malloc/obstack.h (obstack_empty_p, obstack_finish): Do not
	assume that the "contents" member is suitably aligned.  It is
	not, for some hosts and alignments: e.g., Itanium, long-double.
	* malloc/obstack.c (_obstack_begin, _obstack_begin_1,
	_obstack_newchunk): Likewise.
	* malloc/obstack.c: Include <stddef.h>, for size_t.
	Include <inttypes.h>, <stdint.h> if needed and available.
	(DEFAULT_ALIGNMENT): Now an enum constant, not a macro.
	Use C89 offsetof rather than K&R trick.
	Use the maximum alignment of uintmax_t, long double, void *
	rather than the alignment of double.
	(union fooround): Use uintmax_t, long double, void * members
	rather than just long and double.

	[BZ #321]
	Fix portability bugs encountered when porting to the IBM iSeries,
	where pointers are 256 bits wide and no integers are that wide.
	* malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove.
	All uses changed to:
	(__BPTR_ALIGN, __PTR_ALIGN): New macros.
	(struct _obstack_chunk.temp): Change from int to a union
	of pointer and int.  All uses changed.

	[BZ #321]
	* malloc/obstack.c (print_and_abort) [!_LIBC]:
	Call fprintf (stderr, ...), not __fxprintf (NULL, ...).
	[_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
2006-01-11 05:43:11 +00:00
..
Depend Update. 1999-10-04 22:59:43 +00:00
Makefile [BZ #838] 2005-09-27 05:45:26 +00:00
Versions * malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres. 2003-02-22 00:55:36 +00:00
arena.c .. 2005-11-21 15:45:19 +00:00
hooks.c .. 2005-11-21 15:45:19 +00:00
malloc.c .. 2005-11-21 15:45:19 +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 * sysdeps/unix/opendir.c (__opendir): Pass extra argument to 2005-10-14 21:11:09 +00:00
memusage.sh Update copyright year. 2006-01-01 19:15:56 +00:00
memusagestat.c * catgets/gencat.c: Use GPL, not LGPL. 2005-12-07 05:49:17 +00:00
morecore.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
mtrace.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mtrace.pl Update copyright year. 2006-01-01 19:15:56 +00:00
obstack.c [BZ #321] 2006-01-11 05:43:11 +00:00
obstack.h [BZ #321] 2006-01-11 05:43:11 +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-mallocfork.c * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is 2005-12-06 00:50:15 +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 [BZ #804] 2005-10-14 23:42:04 +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