about summary refs log tree commit diff
path: root/elf/dl-reloc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-28 00:50:31 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-28 00:50:31 +0000
commit809cd222384f058b6e59b08016ac5e1dbcf27711 (patch)
tree1c7e1b7ebe11b25e145b58252c287f49a01ac29b /elf/dl-reloc.c
parentb7e033f7be24bc4f2019f949b74f99ed862810d3 (diff)
downloadglibc-809cd222384f058b6e59b08016ac5e1dbcf27711.tar.gz
glibc-809cd222384f058b6e59b08016ac5e1dbcf27711.tar.xz
glibc-809cd222384f058b6e59b08016ac5e1dbcf27711.zip
Update.
	* elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.

	* elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
Diffstat (limited to 'elf/dl-reloc.c')
-rw-r--r--elf/dl-reloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c
index 82e205a6f7..7d28553eba 100644
--- a/elf/dl-reloc.c
+++ b/elf/dl-reloc.c
@@ -200,7 +200,8 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
       if (__builtin_expect ((sym_map)->l_tls_offset == 0, 0)		      \
 	  && !allocate_static_tls (sym_map))				      \
 	{								      \
-	  errstring = N_("shared object cannot be dlopen()ed");		      \
+	  errstring = N_("\
+shared object cannot be dlopen()ed: static TLS memory too small");	      \
 	  INTUSE(_dl_signal_error) (0, (map)->l_name, NULL, errstring);	      \
 	}								      \
     } while (0)