Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64

Joseph Myers
2020-02-20T00:47:10Z

On Thu, 20 Feb 2020, Vineet Gupta wrote:

> The first 4 will need more work as sym aliasing like
> strong_alias (__xstat64, __xstat)
>
> will be needed in those ARM files (which in turn use i386).

The situation for Arm is fundamentally different from that for ARC.

For ARC, you only need a single public stat structure (using 64-bit times
and offsets).

For Arm, a third public stat structure will need to be added alongside the
existing two, initially used internally in 64-bit-time stat functions that
aren't exported from glibc, eventually to be used with _TIME_BITS=64 with
the 64-bit-time stat interfaces exported once all the _TIME_BITS=64
interfaces are ready.

--
Joseph S. Myers
joseph@codesourcery.com