Skip to content

Commit

Permalink
Mark ld.so internel __fxstatat64 hidden
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
H.J. Lu committed Oct 19, 2015
1 parent 6ec52bf commit cf6d542
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
3 changes: 3 additions & 0 deletions include/sys/stat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf6d542

Please sign in to comment.