Mark internal statfs functions with attribute_hidden [BZ #18822]
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 22:18:09 +0000 (15:18 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 22:18:25 +0000 (15:18 -0700)
commite1b33bba7c30b36be33fa8bb1e6cffbb65b97730
tree101e3d18d9f9814916d1b27237d02f8e7867236c
parentb0f5678494d727b6868435dfc32b066ade6d3e49
Mark internal statfs functions with attribute_hidden [BZ #18822]

Mark internal statfs functions with attribute_hidden to allow direct
access within libc.so and libc.a without using GOT nor PLT.

[BZ #18822]
* include/sys/statfs.h (__fstatfs): Add attribute_hidden.
(__statfs64): Likewise.
(__fstatfs64): Likewise.
* include/sys/statvfs.h (__statvfs64): Likewise.
(__fstatvfs64): Likewise.
* sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
(__statfs_filesize_max): Likewise.
(__statfs_symlinks): Likewise.
(__statfs_chown_restricted): Likewise.
ChangeLog
include/sys/statfs.h
include/sys/statvfs.h
sysdeps/unix/sysv/linux/pathconf.h