[PATCH] Use XSTAT_IS_XSTAT64 in generic xstat functions
Steve Ellcey
sellcey@caviumnetworks.com
Mon Nov 28 18:52:00 GMT 2016
Ping. Â I double checked this patch and did a alpha build with the
build-many-glibcs.py script to make sure it did not have the same
problem that my [f]statfs patch had on that target.
Steve Ellcey
sellcey@caviumnetworks.com
On Mon, 2016-11-21 at 11:21 -0800, Steve Ellcey wrote:
> Here is a new version of my patch to use XSTAT_IS_XSTAT64 in generic 32
> bit xstat routines. Â This is needed for the aarch64 ILP32 work where
> the xstat and xstat64 routines can be aliased. Â This patch uses #if's
> instead of #ifdef's since my earlier patch defined XSTAT_IS_XSTAT64 to
> 0 or 1 in all of the kernel_stat.h header files.
>
> Tested on x86 and aarch64. Â OK to checkin?
>
> Steve Ellcey
> sellcey@caviumnetworks.com
>
>
> 2016-11-21  Yury Norov  <ynorov@caviumnetworks.com>
>             Steve Ellcey  <sellcey@caviumnetworks.com>
>
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
> Â Â Â Â Â Â Â Â fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
> Â Â Â Â Â Â Â Â fxstatat.
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
> Â Â Â Â Â Â Â Â lxstat.
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
> Â Â Â Â Â Â Â Â an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
> Â Â Â Â Â Â Â Â * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
> Â Â Â Â Â Â Â Â __xstat.
More information about the Libc-alpha
mailing list