mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Hide internal __sysinfo function [BZ #18822]
Hide internal __sysinfo function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add attribute_hidden.
This commit is contained in:
parent
6a088436d4
commit
6e342af6e7
@ -1,3 +1,9 @@
|
||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #18822]
|
||||
* sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
|
||||
attribute_hidden.
|
||||
|
||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #18822]
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
# ifndef _ISOMAC
|
||||
|
||||
extern __typeof (sysinfo) __sysinfo __THROW;
|
||||
extern __typeof (sysinfo) __sysinfo __THROW attribute_hidden;
|
||||
|
||||
# endif /* _ISOMAC */
|
||||
#endif /* sys/sysinfo.h */
|
||||
|
Loading…
Reference in New Issue
Block a user