Mark __internal_statvfs[64] with attribute_hidden [BZ #18822]
commit3aff56444e96300fba1e2c25bd0b2545613a20fa
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 22:08:14 +0000 (1 15:08 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 22:08:32 +0000 (1 15:08 -0700)
tree8ac3942f2e80c6955cba7e4c045f33655bd250d9
parent8bcdb7e0c5346d2e9d61b208d80fd8213e1dbd90
Mark __internal_statvfs[64] with attribute_hidden [BZ #18822]

Mark __internal_statvfs[64] with attribute_hidden to allow direct access
to them within libc.so and libc.a without using GOT nor PLT.

[BZ #18822]
* sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
instead of <sys/statvfs.h>.
(__internal_statvfs): Removed.
* sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
instead of <sys/statvfs.h>.
(__internal_statvfs64): Removed.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Include
"internal_statvfs.h" instead of <sys/statvfs.h>.
* sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
* sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
instead of <sys/statvfs.h>.
(__internal_statvfs): Removed.
* sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
instead of <sys/statvfs.h>.
(__internal_statvfs64): Removed.
ChangeLog
sysdeps/unix/sysv/linux/fstatvfs.c
sysdeps/unix/sysv/linux/fstatvfs64.c
sysdeps/unix/sysv/linux/internal_statvfs.c
sysdeps/unix/sysv/linux/internal_statvfs.h [copied from sysdeps/unix/sysv/linux/fstatvfs.c with 57% similarity]
sysdeps/unix/sysv/linux/statvfs.c
sysdeps/unix/sysv/linux/statvfs64.c