mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Mark ld.so internel stdlib functions hidden
Since ld.so internel stdlib functions are only used internally in ld.so, they can be made hidden. [BZ #19122] * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add attribute_hidden. [IS_IN (rtld)] (__strtoul_internal): Likewise.
This commit is contained in:
@ -1,6 +1,10 @@
|
|||||||
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/stdlib.h [IS_IN (rtld)] (unsetenv): Add
|
||||||
|
attribute_hidden.
|
||||||
|
[IS_IN (rtld)] (__strtoul_internal): Likewise.
|
||||||
|
|
||||||
* include/signal.h [IS_IN (rtld)] (__sigaction): Add
|
* include/signal.h [IS_IN (rtld)] (__sigaction): Add
|
||||||
attribute_hidden.
|
attribute_hidden.
|
||||||
[IS_IN (rtld)] (__libc_sigaction): Likewise.
|
[IS_IN (rtld)] (__libc_sigaction): Likewise.
|
||||||
|
@ -242,6 +242,11 @@ struct abort_msg_s
|
|||||||
extern struct abort_msg_s *__abort_msg;
|
extern struct abort_msg_s *__abort_msg;
|
||||||
libc_hidden_proto (__abort_msg)
|
libc_hidden_proto (__abort_msg)
|
||||||
|
|
||||||
|
# if IS_IN (rtld)
|
||||||
|
extern __typeof (unsetenv) unsetenv attribute_hidden;
|
||||||
|
extern __typeof (__strtoul_internal) __strtoul_internal attribute_hidden;
|
||||||
|
# endif
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user