]> sourceware.org Git - glibc.git/commitdiff
Hide internal __sysinfo function [BZ #18822]
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 23:05:10 +0000 (16:05 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 23:05:28 +0000 (16:05 -0700)
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.

ChangeLog
sysdeps/unix/sysv/linux/include/sys/sysinfo.h

index 9397cdf56270a5cb034c39b0c44fa2b37c4a77a5..7a6cb4a043b3daec527c30f2ec2aab79cf7e98b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index 1fa4969ef8d69bfdae0d945987637a2ba1e22f1a..084e20382691ae932d8e522196f0e7b5e2caaeb5 100644 (file)
@@ -23,7 +23,7 @@
 
 # ifndef _ISOMAC
 
-extern __typeof (sysinfo) __sysinfo __THROW;
+extern __typeof (sysinfo) __sysinfo __THROW attribute_hidden;
 
 # endif /* _ISOMAC */
 #endif /* sys/sysinfo.h */
This page took 0.086001 seconds and 5 git commands to generate.