Commit Graph

161 Commits

Author SHA1 Message Date
Jakub Jelinek 574e283890 Updated to fedora-glibc-20071212T1051 2007-12-12 18:13:35 +00:00
Jakub Jelinek 75cb5a0d47 Updated to fedora-glibc-20071003T1908 2007-10-03 19:32:28 +00:00
Jakub Jelinek 75831cc48d Backported selected fixes from 2007-05-{17,18,21}. 2007-05-21 20:01:15 +00:00
Roland McGrath 18b86433d0 Updated to fedora-glibc-20070515T2025 2007-05-15 20:34:30 +00:00
Jakub Jelinek 2a0a747e57 Updated to fedora-glibc-20070504T0917 2007-05-04 10:05:57 +00:00
Jakub Jelinek af98d46f5a Updated to fedora-glibc-20070117T0857 2007-01-17 10:42:43 +00:00
Jakub Jelinek 8dd5fcaca8 Updated to fedora-glibc-20061029T2155 2006-10-29 22:03:29 +00:00
Jakub Jelinek 21cb7ca55c Updated to fedora-glibc-20061025T1857 2006-10-25 19:13:42 +00:00
Jakub Jelinek effe3e2d1a Updated to fedora-glibc-20060910T1832 2006-09-10 18:59:03 +00:00
Jakub Jelinek 4c7854d1dc Updated to fedora-glibc-20060831T1812 2006-08-31 18:54:54 +00:00
Jakub Jelinek 2455d11258 Updated to fedora-glibc-20060828T1903 2006-08-28 19:19:33 +00:00
Jakub Jelinek b26033141c Temporarily #if 0 out code to limit number of unsurted block sort iterations. 2006-08-25 06:54:11 +00:00
Jakub Jelinek 4473150984 Updated to fedora-glibc-20060825T0639 2006-08-25 06:45:16 +00:00
Jakub Jelinek 4728cb6448 Updated to fedora-glibc-20060822T0706 2006-08-22 09:05:41 +00:00
Jakub Jelinek 2569265466 Updated to fedora-glibc-20060810T0627 2006-08-10 06:34:46 +00:00
Jakub Jelinek b3643a3858 Updated to fedora-glibc-20060306T0720 2006-03-06 07:30:01 +00:00
Jakub Jelinek 82a448ae7d * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double)
if long double is more aligned than 2 * SIZE_SZ.
	(misaligned_chunk): Define.
	(public_rEALLOc, _int_free, _int_realloc): Use it.
2006-03-02 09:59:46 +00:00
Jakub Jelinek 2c6cfe6853 Updated to fedora-glibc-20051219T1003 2005-12-19 12:11:38 +00:00
Jakub Jelinek 22d7fbdbae Updated to fedora-glibc-20051115T0809 2005-11-15 08:22:03 +00:00
Jakub Jelinek b7071f6fc4 Updated to fedora-glibc-20051020T0651 2005-10-20 06:59:57 +00:00
Jakub Jelinek a5a11654ea Updated to fedora-glibc-20051003T2040 2005-10-03 20:44:20 +00:00
Jakub Jelinek 2b0f7faea4 * malloc.c (struct malloc_chunk): Fix comment typo.
(public_cALLOc): For mmapped chunks and perturb_byte != 0,
	don't clear SIZE_SZ bytes more than should be cleared.
2005-09-12 09:39:03 +00:00
Jakub Jelinek 55a24b753a Updated to fedora-glibc-20050324T0715 2005-03-24 08:19:18 +00:00
Jakub Jelinek 8f8ebbc438 Updated to fedora-glibc-20050319T1907 2005-03-19 21:04:10 +00:00
Jakub Jelinek d0fec8d06c Updated to fedora-glibc-20050302T1820 2005-03-03 13:34:35 +00:00
Jakub Jelinek d585b66fa4 Updated to fedora-glibc-20050208T0948 2005-02-08 10:05:09 +00:00
Jakub Jelinek f9626feb2d Updated to fedora-glibc-20041213T2323 2004-12-13 23:32:37 +00:00
Jakub Jelinek f2b016bfc9 Updated to fedora-glibc-20041210T0634 2004-12-10 06:50:32 +00:00
Jakub Jelinek 7894035e1c Updated to fedora-glibc-20041120T0949 2004-11-20 09:56:34 +00:00
Jakub Jelinek 802ea9dccd chunksize(x) => x->size 2004-11-19 06:38:37 +00:00
Jakub Jelinek 5a312412f2 Another version of the free checks. 2004-11-19 00:20:40 +00:00
Jakub Jelinek 4e2e518f6a MINSIZE => 2 * SIZE_SZ 2004-11-16 08:55:38 +00:00
Jakub Jelinek a52ef8e416 * malloc/malloc.c (_int_free): Further free () protection checks. 2004-11-15 09:49:06 +00:00
Jakub Jelinek b3c20a361d Updated to fedora-glibc-20041115T0915 2004-11-15 09:47:23 +00:00
Jakub Jelinek 80c96e8e6f Updated to fedora-glibc-20041102T1153 2004-11-02 12:26:42 +00:00
Jakub Jelinek 9869e6ec91 Updated to fedora-glibc-20041014T0548 2004-10-14 05:57:55 +00:00
Jakub Jelinek 3ee87ca7d4 Updated to fedora-glibc-20041012T1128 2004-10-12 12:00:26 +00:00
Jakub Jelinek 85148842d4 Updated to fedora-glibc-20041004T0747 2004-10-04 08:56:18 +00:00
Jakub Jelinek bd7c3bed54 Updated to fedora-glibc-20040925T0738 2004-09-25 07:55:46 +00:00
Ulrich Drepper 3e00177e5a nt_free): Only do arena boundary check for contiguous arenas. 2004-09-10 19:56:41 +00:00
Ulrich Drepper a962d7dc18 Update.
2004-09-09  Ulrich Drepper  <drepper@redhat.com>

	* malloc/hooks.c (top_check): Print top chunk corruption as normal
	error message.

	* malloc/malloc.c (malloc_printerr): Don't make informational
	message look like error message.
2004-09-09 21:10:29 +00:00
Ulrich Drepper 6bf4302e76 (_int_free): Add inexpensive double free and memory corruption tests. (malloc_printf_nc): Renamed to malloc_printerr. Second parameter is no format string anymore. Don't use stdio. Adjust all callers. 2004-09-09 09:03:28 +00:00
Ulrich Drepper 9d0cdc0eea Update.
2004-09-08  Ulrich Drepper  <drepper@redhat.com>

	* malloc/malloc.c (_int_free): Add inexpensive double free test.
2004-09-09 01:58:35 +00:00
Ulrich Drepper 06d6611aac Update.
2004-09-08  Ulrich Drepper  <drepper@redhat.com>

	* malloc/arena.c: Remove __MALLOC_P uses.
	* malloc/malloc.c: Likewise.

	* malloc/mtrace.c: Remove __P uses.
	* malloc/mcheck-init.c: Likewise.
2004-09-08 08:12:39 +00:00
Ulrich Drepper 3e030bd5f9 Update.
* malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c.
	(check_action): Likewise.
	When printing error messages, use malloc_printf_nc now instead of
	fiddling with the streams cancellation flag in every place.
	* malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition.  Change
	default to 3.
	(check_action): New variable.
	(unlink): Print error message and eventually terminate in case list
	is corrupted.
	(malloc_printf_nc): New function.  Use it in _int_free.
	Change proposed by Arjan van de Ven.
2004-08-21 20:19:54 +00:00
Ulrich Drepper eba19d2be7 Update.
2004-08-13  Ulrich Drepper  <drepper@redhat.com>

	* elf/sprof.c (read_symbols): When comparing aliases, prefer
	strong over weak symbols if both don't start with '_'.

	* malloc/malloc.c: Use strong_alias instead of weak_alias wherever
	possible.
2004-08-13 18:39:44 +00:00
Ulrich Drepper de02bd0553 Update.
2004-03-18  Ulrich Drepper  <drepper@redhat.com>

	* malloc/malloc.c (__posix_memalign): Correct alignment check.
	Reported by Don Heller <dheller@cse.psu.edu>.
2004-03-19 07:16:54 +00:00
Ulrich Drepper aa420660e0 Update.
* malloc/malloc.c: Don't call exported interface in the implementation.
2004-03-05 11:12:46 +00:00
Ulrich Drepper e796f92f68 Update.
2003-12-17  Jakub Jelinek  <jakub@redhat.com>

	* malloc/mtrace.c (tr_old_memalign_hook): New variable.
	(tr_memalignhook): New function.
	(mtrace): Register tr_memalignhook.
	(muntrace): Deregister tr_memalignhook.
	* malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL,
	call it directly instead of memalign_internal.

2003-12-17  Ulrich Drepper  <drepper@redhat.com>

	* misc/mntent_r.c: Change encoding to match recently change decoder.
	Patch by Alexander Achenbach <xela@slit.de>.

2003-12-16  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of
	vrregset_t.

2003-12-16  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extent
	conditional to include typedef elf_vrreg_t.

2002-12-17  Paolo Bonzini  <bonzini@gnu.org>

	* posix/regexec.c (re_search_internal): Limit search to the
	beginning of the buffer if the initial states are empty for
	contexts that do not include CONTEXT_BEGBUF or, if
	!preg->newline_anchor, that do not include any one of
	CONTEXT_BEGBUF and CONTEXT_NEWLINE.
2003-12-17 23:52:56 +00:00
Ulrich Drepper 3c6904fb49 Update.
2003-09-27  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c: Include <malloc-machine.h> earlier instead of
	"thread-m.h", so that default parameters can be overridden in a
	system-specific malloc-machine.h.  Remove extra ; from extern "C"
	closing brace.
	* sysdeps/generic/malloc-machine.h: New file.
	* sysdeps/mach/hurd/malloc-machine.h: New file.
	* malloc/thread-m.h: Removed.
	* malloc/Makefile: Remove CFLAGS-malloc.c parameter addition, it
	is in sysdeps/generic/malloc-machine.h now.

	* elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
	variables only used if TLS_TCB_AT_TP is defined into the #if
	branch.
2003-09-30 02:10:33 +00:00