mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
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.
This commit is contained in:
parent
6d56699d7e
commit
e19f02428b
@ -1,6 +1,9 @@
|
|||||||
2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
|
2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #19122]
|
[BZ #19122]
|
||||||
|
* include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
|
||||||
|
Add attribute_hidden.
|
||||||
|
|
||||||
* include/fcntl.h (__libc_fcntl): Add attribute_hidden.
|
* include/fcntl.h (__libc_fcntl): Add attribute_hidden.
|
||||||
[IS_IN (rtld)] (__open): Likewise.
|
[IS_IN (rtld)] (__open): Likewise.
|
||||||
[IS_IN (rtld)] (__fcntl): Likewise.
|
[IS_IN (rtld)] (__fcntl): Likewise.
|
||||||
|
@ -34,6 +34,10 @@ extern void __libc_thread_freeres (void);
|
|||||||
/* Define and initialize `__progname' et. al. */
|
/* Define and initialize `__progname' et. al. */
|
||||||
extern void __init_misc (int, char **, char **);
|
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. */
|
/* 1 if 'type' is a pointer type, 0 otherwise. */
|
||||||
# define __pointer_type(type) (__builtin_classify_type ((type) 0) == 5)
|
# define __pointer_type(type) (__builtin_classify_type ((type) 0) == 5)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user