about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-10 06:47:09 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-10 06:47:09 +0000
commit209a8ca3fcb83e584a4b9db85f08a7fa6a7e584d (patch)
tree1dc0c13d4bd839ce96f03cb202f365b37055e408 /sysdeps/generic
parentd0883b4894755196babd57ef1584cce4b335ffd0 (diff)
downloadglibc-209a8ca3fcb83e584a4b9db85f08a7fa6a7e584d.tar.gz
glibc-209a8ca3fcb83e584a4b9db85f08a7fa6a7e584d.tar.xz
glibc-209a8ca3fcb83e584a4b9db85f08a7fa6a7e584d.zip
Update.
	* sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
	_dl_allocate_tls_init.  Add rtld_hidden_proto.
	* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
	rtld_hidden_def.
	* elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/dl-tls.c1
-rw-r--r--sysdeps/generic/ldsodefs.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c
index c969464449..fe8f791638 100644
--- a/sysdeps/generic/dl-tls.c
+++ b/sysdeps/generic/dl-tls.c
@@ -333,6 +333,7 @@ _dl_allocate_tls_init (void *result)
 
   return result;
 }
+rtld_hidden_def (_dl_allocate_tls_init)
 
 void *
 internal_function
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 0d85506ea3..c149656446 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -742,8 +742,8 @@ extern void _dl_get_tls_static_info (size_t *sizep, size_t *alignp)
    only used within rtld.c itself at startup time.  */
 extern void *_dl_allocate_tls_storage (void)
   internal_function attribute_hidden;
-extern void *_dl_allocate_tls_init (void *)
-  internal_function attribute_hidden;
+extern void *_dl_allocate_tls_init (void *) internal_function;
+rtld_hidden_proto (_dl_allocate_tls_init);
 
 /* Deallocate memory allocated with _dl_allocate_tls.  */
 extern void _dl_deallocate_tls (void *tcb, bool dealloc_tcb) internal_function;