aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:20:43 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-15 14:20:59 -0700
commite19f02428bacdf7565cb4e61a363c61501ce6870 (patch)
treeb51d95c93914527dfc3aa20196df3e1536302b39 /include
parent6d56699d7e808419ccf244150ecba122156932ba (diff)
downloadglibc-e19f02428bacdf7565cb4e61a363c61501ce6870.zip
glibc-e19f02428bacdf7565cb4e61a363c61501ce6870.tar.gz
glibc-e19f02428bacdf7565cb4e61a363c61501ce6870.tar.bz2
Mark ld.so internel __profile_frequency hidden
Since ld.so internel __profile_frequency is only used internally in ld.so, it can be made hidden. [BZ #19122] * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency): Add attribute_hidden.
Diffstat (limited to 'include')
-rw-r--r--include/libc-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index b37388e..65a2a56 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -34,6 +34,10 @@ extern void __libc_thread_freeres (void);
/* Define and initialize `__progname' et. al. */
extern void __init_misc (int, char **, char **);
+# if IS_IN (rtld)
+extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
+# endif
+
/* 1 if 'type' is a pointer type, 0 otherwise. */
# define __pointer_type(type) (__builtin_classify_type ((type) 0) == 5)