aboutsummaryrefslogtreecommitdiff
path: root/include/libc-internal.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:53:31 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:53:55 -0700
commit7bfd08ac5be538a2beaa48f029944e01fb3b5d7a (patch)
tree4c88d6e6fbf4815134061dba2830c364d8cd9c23 /include/libc-internal.h
parent0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7 (diff)
downloadglibc-7bfd08ac5be538a2beaa48f029944e01fb3b5d7a.tar
glibc-7bfd08ac5be538a2beaa48f029944e01fb3b5d7a.tar.gz
glibc-7bfd08ac5be538a2beaa48f029944e01fb3b5d7a.tar.bz2
glibc-7bfd08ac5be538a2beaa48f029944e01fb3b5d7a.zip
Hide internal __init_misc function [BZ #18822]
Hide internal __init_misc function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/libc-internal.h (__init_misc): Add attribute_hidden.
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r--include/libc-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index c501c95eb5..7403c24e25 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -47,7 +47,7 @@ libc_hidden_proto (__libc_freeres)
extern void __libc_thread_freeres (void);
/* Define and initialize `__progname' et. al. */
-extern void __init_misc (int, char **, char **);
+extern void __init_misc (int, char **, char **) attribute_hidden;
# if IS_IN (rtld)
extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;