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
..
arena.c .. 2005-11-21 15:45:19 +00:00
Depend
hooks.c .. 2005-11-21 15:45:19 +00:00
Makefile [BZ #838] 2005-09-27 05:45:26 +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
mcheck-init.c
mcheck.c
mcheck.h
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
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
thread-freeres.c
tst-calloc.c
tst-malloc.c
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
tst-mcheck.c * elf/dl-close.c: Include stddef.h. 2005-04-27 01:39:11 +00:00
tst-mtrace.c
tst-mtrace.sh [BZ #804] 2005-10-14 23:42:04 +00:00
tst-obstack.c
tst-valloc.c
Versions