This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 03/58] Mark __internal_statvfs[64] with attribute_hidden [BZ #18822]


On 9/1/17, H.J. Lu <hjl.tools@gmail.com> wrote:
> 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.

Tested with build-many-glibcs.py.  I am checking it in.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]