aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-19 12:01:32 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-19 12:01:48 -0700
commitcf6d542db3dfe26402b6adaa740a578b54767f65 (patch)
treeb894688fee85a7022e5e55aeb664883dea1f8658
parentPowerPC: Fix a race condition when eliding a lock (diff)
downloadglibc-cf6d542db3dfe26402b6adaa740a578b54767f65.tar.gz
glibc-cf6d542db3dfe26402b6adaa740a578b54767f65.tar.bz2
glibc-cf6d542db3dfe26402b6adaa740a578b54767f65.zip
Mark ld.so internel __fxstatat64 hidden
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.
-rw-r--r--ChangeLog6
-rw-r--r--include/sys/stat.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b955eb524c..007f6c9d7e 100644
--- 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]
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 873562a99d..4f31c00eca 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -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