]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Mark ld.so internel __fxstatat64 hidden
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Oct 2015 19:01:32 +0000 (12:01 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Oct 2015 19:01:48 +0000 (12:01 -0700)
Since ld.so internel __fxstatat64 is only used internally in ld.so, it
can be made hidden.

[BZ #19122]
* include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
attribute_hidden.

ChangeLog
include/sys/stat.h

index b955eb524c1f4acf3b8663fe7d48cdc41cc529f0..007f6c9d7e554f9c8950cb768b25ed2ab0f2153c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #19122]
+       * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
+       attribute_hidden.
+
 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
 
        [BZ #18743]
index 873562a99dd637b6b7e35dee948c5b2747ca41be..4f31c00ecaba221fae0e4f10fd1ed6fd6b17a92b 100644 (file)
@@ -35,6 +35,9 @@ libc_hidden_proto (__xmknodat)
 libc_hidden_proto (__fxstatat)
 libc_hidden_proto (__fxstatat64)
 
+# if IS_IN (rtld)
+extern __typeof (__fxstatat64) __fxstatat64 attribute_hidden;
+# endif
 
 /* The `stat', `fstat', `lstat' functions have to be handled special since
    even while not compiling the library with optimization calls to these