about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-15 07:26:22 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-15 07:26:22 +0000
commitfcae3b76f63626b0e587f8e3b40191136e36041b (patch)
tree0363ab3496c90bdb8b11e3dd220f22cd73f83777 /sysdeps
parent2461e3dc09008fecc21fb5d23b9d76da2640e3f3 (diff)
downloadglibc-fcae3b76f63626b0e587f8e3b40191136e36041b.tar.gz
glibc-fcae3b76f63626b0e587f8e3b40191136e36041b.tar.xz
glibc-fcae3b76f63626b0e587f8e3b40191136e36041b.zip
* elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition. cvs/fedora-glibc-20051115T0809
	* sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/libc-tls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/libc-tls.c b/sysdeps/generic/libc-tls.c
index bfb6de0f73..3544e396da 100644
--- a/sysdeps/generic/libc-tls.c
+++ b/sysdeps/generic/libc-tls.c
@@ -60,8 +60,9 @@ bool _dl_tls_dtv_gaps;
 struct dtv_slotinfo_list *_dl_tls_dtv_slotinfo_list;
 /* Number of modules in the static TLS block.  */
 size_t _dl_tls_static_nelem;
-/* Size of the static TLS block.  */
-size_t _dl_tls_static_size;
+/* Size of the static TLS block.  Giving this initialized value
+   preallocates some surplus bytes in the static TLS area.  */
+size_t _dl_tls_static_size = 2048;
 /* Size actually allocated in the static TLS block.  */
 size_t _dl_tls_static_used;
 /* Alignment requirement of the static TLS block.  */