+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>
* configure.in: Barf if configured in $srcdir.
- * configure: Regenerated.
2003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
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>
+
* sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self
variable.
head->self = _descr; \
\
__builtin_set_thread_pointer (_descr); \
- 0; \
+ NULL; \
})
/* Return the address of the dtv for the current thread. */
if (brk == old_end && snd_brk == (char*)(MORECORE_FAILURE))
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. */
assert(0);
}
+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>
* Makefile (tests): Add tst-umask1.
int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *);
int (*ptr___pthread_rwlock_unlock) (pthread_rwlock_t *);
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 *);
void (*ptr__pthread_cleanup_push_defer) (struct _pthread_cleanup_buffer *,
void (*) (void *), void *);
if (str2 == NULL) \
len = strlen (string); \
else \
- len = str2 - string - (ps.__count); \
+ len = str2 - string - (ps.__count & 7); \
} \
} \
else \
-/* 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.
This file is part of the GNU C Library.
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <stdlib.h>
#include <sysdeps/generic/libc-tls.c>
#if USE_TLS
}
#endif
-