2003-10-01  Thorsten Kukuk  <kukuk@suse.de>

	* elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
	variables only used if TLS_DTV_AT_TP is defined into the #if branch.
This commit is contained in:
Ulrich Drepper 2003-10-02 18:58:31 +00:00
parent 1b6f6a92e3
commit b77ca0e827
4 changed files with 18 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-10-01 Thorsten Kukuk <kukuk@suse.de>
* elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
variables only used if TLS_DTV_AT_TP is defined into the #if branch.
2003-10-02 Jeroen Dekkers <jeroen@dekkers.cx>
* sysdeps/mach/hurd/malloc-machine.h: Copy the tsd code from

View file

@ -49,8 +49,6 @@ internal_function __attribute_noinline__
_dl_allocate_static_tls (struct link_map *map)
{
size_t offset;
size_t used;
size_t check;
/* If the alignment requirements are too high fail. */
if (map->l_tls_align > GL(dl_tls_static_align))
@ -78,6 +76,9 @@ cannot allocate memory in static TLS block"));
map->l_tls_offset = GL(dl_tls_static_used) = offset;
# elif TLS_DTV_AT_TP
size_t used;
size_t check;
offset = roundup (GL(dl_tls_static_used), map->l_tls_align);
used = offset + map->l_tls_blocksize;
check = used;

View file

@ -1,3 +1,8 @@
2003-10-02 Jakub Jelinek <jakub@redhat.com>
* Makefile (tests): Add tst-cancel8.
* tst-cancel8.c: New test.
2003-10-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Fix saving and

View file

@ -1,3 +1,8 @@
2003-10-02 Jakub Jelinek <jakub@redhat.com>
* Makefile (tests): Add tst-cancel19.
* tst-cancel19.c: New test.
2003-10-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Fix saving and