[PATCH] Updated version of define for __ASSUME_ST_INO_64_BIT

Steve Ellcey sellcey@caviumnetworks.com
Thu Oct 27 20:42:00 GMT 2016


Yury,

I took a look at your __ASSUME_ST_INO_64_BIT patch at:

        https://sourceware.org/ml/libc-alpha/2016-09/msg00075.html

I think that, rather than ifdef'ing the setting of
__ASSUME_ST_INO_64_BIT in sysdeps/unix/sysv/linux/kernel-features.h,
the setting should be left as unconditional and then sh and alpha can
undef and re-define it to zero after including linux/kernel-features.h.

Here is my modified version of your patch, I tested it on x86 just to 
make sure I didn't break anything obvious, but I don't have hardware to
test sh or alpha.

Can someone approve this for checkin?

Steve Ellcey
sellcey@caviumnetworks.com


2016-10-27  Yury Norov  <ynorov@caviumnetworks.com>
            Steve Ellcey <sellcey@caviumnetworks.com>

        * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
          __ASSUME_ST_INO_64_BIT as 0
        * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
        * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
          over the code where __ASSUME_ST_INO_64_BIT is used.
        * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
        * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
        * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assume.patch
Type: text/x-patch
Size: 3216 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161027/991d35ce/attachment.bin>


More information about the Libc-alpha mailing list