mirror of git://sourceware.org/git/glibc.git
Mark ld.so internel __uname hidden
Since ld.so internel __uname is only used internally in ld.so, it can be made hidden. [BZ #19122] * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add attribute_hidden.
This commit is contained in:
parent
f84114688a
commit
3c82bb5042
|
@ -1,6 +1,9 @@
|
|||
2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #19122]
|
||||
* include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
|
||||
attribute_hidden.
|
||||
|
||||
* include/string.h [IS_IN (rtld)] (__stpcpy): Add
|
||||
attribute_hidden.
|
||||
[IS_IN (rtld)] (__strdup): Likewise.
|
||||
|
|
|
@ -6,5 +6,9 @@ extern int __uname (struct utsname *__name);
|
|||
|
||||
libc_hidden_proto (uname)
|
||||
libc_hidden_proto (__uname)
|
||||
|
||||
# if IS_IN (rtld)
|
||||
extern __typeof (__uname) __uname attribute_hidden;
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue