about summary refs log tree commit diff
path: root/elf/dl-reloc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-27 06:20:14 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-27 06:20:14 +0000
commit541765b6b478c98825eb35759ed558489448771f (patch)
tree0121a45ee77606a395dce5719ef14f65d57fb459 /elf/dl-reloc.c
parent669863e27194ac7ddeffa2843d96949a1e082ece (diff)
downloadglibc-541765b6b478c98825eb35759ed558489448771f.tar.gz
glibc-541765b6b478c98825eb35759ed558489448771f.tar.xz
glibc-541765b6b478c98825eb35759ed558489448771f.zip
Update.
2003-04-26  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement
	tracking of freed memory in static TLS block.
	* elf/Makefile: Add rules to build and run tst-tls13.
	* elf/tst-tls13.c: New file.
	* elf/tst-tlsmod13.c: New file.
	* elf/tst-tlsmod13a.c: New file.

	* elf/tst-tls8.c: Adjust types of variables to avoid warnings.

	* elf/dl-reloc.c: Pretty printing.
Diffstat (limited to 'elf/dl-reloc.c')
-rw-r--r--elf/dl-reloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c
index c7f1f3417f..6165fe4aca 100644
--- a/elf/dl-reloc.c
+++ b/elf/dl-reloc.c
@@ -45,7 +45,9 @@ void
 internal_function __attribute_noinline__
 _dl_allocate_static_tls (struct link_map *map)
 {
-  size_t offset, used, check;
+  size_t offset;
+  size_t used;
+  size_t check;
 
 # if TLS_TCB_AT_TP
   offset = roundup (GL(dl_tls_static_used) + map->l_tls_blocksize,