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.
This commit is contained in:
parent
0e1fd06cde
commit
7bfd08ac5b
|
@ -1,3 +1,8 @@
|
||||||
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
[BZ #18822]
|
||||||
|
* include/libc-internal.h (__init_misc): Add attribute_hidden.
|
||||||
|
|
||||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #18822]
|
[BZ #18822]
|
||||||
|
|
|
@ -47,7 +47,7 @@ libc_hidden_proto (__libc_freeres)
|
||||||
extern void __libc_thread_freeres (void);
|
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 **) attribute_hidden;
|
||||||
|
|
||||||
# if IS_IN (rtld)
|
# if IS_IN (rtld)
|
||||||
extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
|
extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
|
||||||
|
|
Loading…
Reference in New Issue