[RFC] Forcing 64-bits __OFF_T_TYPE and __INO_T_TYPE for new 32-bit architectures?
Manuel A. Fernandez Montecelo
manuel.montezelo@gmail.com
Mon Jun 6 18:52:00 GMT 2016
Hi,
When discussing how to implement these types for the RISC-V architecture
(32, 64 and 128-bit flavours), it seems that there's a drive [1][2] to
force new arches to use the 64-bit versions of these types (so they
would be the same as __OFF64_T_TYPE and __INO64_T_TYPE), even for 32-bit
arches.
Does this look like a reasonable approach?
https://github.com/manuelafm/riscv-gnu-toolchain/commit/764f5ac958618c1ca8761845864164365282ffbd
(also attached)
[1] At least from people in the Linux kernel community.
[2] A further suggestion was that all new arches should default to have
the same width for these types, 64 bits, and override __OFF_T_TYPE
and __INO_T_TYPE for all the existing architectures where they are
currently 32-bits. I don't know if this is desirable at this point.
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
More information about the Libc-alpha
mailing list