about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
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;