2002-10-07  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (sYSMALLOc): Only check for breakage due
	to foreign sbrk()'s if arena is contiguous.  Bug report from
	Bruno Haible <bruno@clisp.org>.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/s390/libc-tls.c: Include stdlib.h.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

	* stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
	ps.__count.

2003-01-30  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
	restoring of %r6.
	* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.  Use
	64-bit load.
	Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
	(allocate_static_tls): ...here.  Add __attribute_noinline__.
	Don't return on failure.
	(_dl_reloc_bad_type): Add __attribute_noinline__.
	* elf/do-rel.h (elf_dynamic_do_rel): Add
	__attribute__((always_inline)).
	* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
	elf_machine_rel_relative, elf_machine_rela_relative,
	elf_machine_lazy_rel): Add prototypes with
	__attribute__((always_inline)).

2003-01-29  David Mosberger  <davidm@hpl.hp.com>

	* elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
This commit is contained in:
Ulrich Drepper 2003-01-30 18:41:47 +00:00
parent 567678b685
commit 886d5973b7
8 changed files with 55 additions and 7 deletions

View File

@ -1,7 +1,46 @@
2002-10-07 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c (sYSMALLOc): Only check for breakage due
to foreign sbrk()'s if arena is contiguous. Bug report from
Bruno Haible <bruno@clisp.org>.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/s390/libc-tls.c: Include stdlib.h.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
ps.__count.
2003-01-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
restoring of %r6.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
64-bit load.
Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
(allocate_static_tls): ...here. Add __attribute_noinline__.
Don't return on failure.
(_dl_reloc_bad_type): Add __attribute_noinline__.
* elf/do-rel.h (elf_dynamic_do_rel): Add
__attribute__((always_inline)).
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative,
elf_machine_lazy_rel): Add prototypes with
__attribute__((always_inline)).
2003-01-29 David Mosberger <davidm@hpl.hp.com>
* elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
2003-01-29 Roland McGrath <roland@redhat.com> 2003-01-29 Roland McGrath <roland@redhat.com>
* configure.in: Barf if configured in $srcdir. * configure.in: Barf if configured in $srcdir.
* configure: Regenerated.
2003-01-28 Steven Munroe <sjmunroe@us.ibm.com> 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com>

View File

@ -1,3 +1,7 @@
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/s390/tls.h (TLS_INIT_TP): Return NULL, not 0.
2003-01-30 Jakub Jelinek <jakub@redhat.com> 2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC, * sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC,

View File

@ -110,7 +110,7 @@ typedef struct
head->self = _descr; \ head->self = _descr; \
\ \
__builtin_set_thread_pointer (_descr); \ __builtin_set_thread_pointer (_descr); \
0; \ NULL; \
}) })
/* Return the address of the dtv for the current thread. */ /* Return the address of the dtv for the current thread. */

View File

@ -2944,7 +2944,7 @@ static Void_t* sYSMALLOc(nb, av) INTERNAL_SIZE_T nb; mstate av;
if (brk == old_end && snd_brk == (char*)(MORECORE_FAILURE)) if (brk == old_end && snd_brk == (char*)(MORECORE_FAILURE))
set_head(old_top, (size + old_size) | PREV_INUSE); set_head(old_top, (size + old_size) | PREV_INUSE);
else if (old_size && brk < old_end) { else if (contiguous(av) && old_size && brk < old_end) {
/* Oops! Someone else killed our space.. Can't touch anything. */ /* Oops! Someone else killed our space.. Can't touch anything. */
assert(0); assert(0);
} }

View File

@ -1,3 +1,8 @@
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/pthread-functions.h (struct pthread_functions):
Fix return type of ptr___pthread_getspecific.
2003-01-29 Ulrich Drepper <drepper@redhat.com> 2003-01-29 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-umask1. * Makefile (tests): Add tst-umask1.

View File

@ -77,7 +77,7 @@ struct pthread_functions
int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *); int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *);
int (*ptr___pthread_rwlock_unlock) (pthread_rwlock_t *); int (*ptr___pthread_rwlock_unlock) (pthread_rwlock_t *);
int (*ptr___pthread_key_create) (pthread_key_t *, void (*) (void *)); int (*ptr___pthread_key_create) (pthread_key_t *, void (*) (void *));
int (*ptr___pthread_getspecific) (pthread_key_t); void *(*ptr___pthread_getspecific) (pthread_key_t);
int (*ptr___pthread_setspecific) (pthread_key_t, const void *); int (*ptr___pthread_setspecific) (pthread_key_t, const void *);
void (*ptr__pthread_cleanup_push_defer) (struct _pthread_cleanup_buffer *, void (*ptr__pthread_cleanup_push_defer) (struct _pthread_cleanup_buffer *,
void (*) (void *), void *); void (*) (void *), void *);

View File

@ -1185,7 +1185,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
if (str2 == NULL) \ if (str2 == NULL) \
len = strlen (string); \ len = strlen (string); \
else \ else \
len = str2 - string - (ps.__count); \ len = str2 - string - (ps.__count & 7); \
} \ } \
} \ } \
else \ else \

View File

@ -1,4 +1,4 @@
/* Thread-local storage handling in the ELF dynamic linker. IA-64 version. /* Thread-local storage handling in the ELF dynamic linker. S390 version.
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
@ -17,6 +17,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */ 02111-1307 USA. */
#include <stdlib.h>
#include <sysdeps/generic/libc-tls.c> #include <sysdeps/generic/libc-tls.c>
#if USE_TLS #if USE_TLS
@ -34,4 +35,3 @@ __tls_get_offset (size_t m, size_t offset)
} }
#endif #endif