about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-10-02 18:58:31 +0000
committerUlrich Drepper <drepper@redhat.com>2003-10-02 18:58:31 +0000
commitb77ca0e82754c1b0615e5ca6acd343018ffcb287 (patch)
tree95fa613b4cb483a3704c1ac27aec8847c759061e
parent1b6f6a92e34fc726b6dfc249d90e8812f9d757a8 (diff)
downloadglibc-b77ca0e82754c1b0615e5ca6acd343018ffcb287.tar.gz
glibc-b77ca0e82754c1b0615e5ca6acd343018ffcb287.tar.xz
glibc-b77ca0e82754c1b0615e5ca6acd343018ffcb287.zip
Update.
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.
-rw-r--r--ChangeLog5
-rw-r--r--elf/dl-reloc.c5
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--nptl/ChangeLog5
4 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e9ffdec738..bd32162a0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c
index 2c878fc58e..e5abba41dd 100644
--- a/elf/dl-reloc.c
+++ b/elf/dl-reloc.c
@@ -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;
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index fc18d161fb..0cef025bbe 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 9cf02f8189..b3aaee87fe 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -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