This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 17/19] Mark ld.so internel __fxstatat64 hidden
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 14 Oct 2015 15:48:09 -0700
- Subject: [PATCH 17/19] Mark ld.so internel __fxstatat64 hidden
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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.
---
include/sys/stat.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 873562a..4f31c00 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
--
2.4.3