This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>
- Cc: Lukasz Majewski <lukma at denx dot de>, Andreas Schwab <schwab at suse dot de>, "fweimer at redhat dot com" <fweimer at redhat dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, "arnd at arndb dot de" <arnd at arndb dot de>, "palmerdabbelt at google dot com" <palmerdabbelt at google dot com>, "zongbox at gmail dot com" <zongbox at gmail dot com>, Alistair Francis <alistair dot francis at wdc dot com>, "adhemerval dot zanella at linaro dot org" <adhemerval dot zanella at linaro dot org>, "macro at wdc dot com" <macro at wdc dot com>, Alistair Francis <alistair23 at gmail dot com>, arcml <linux-snps-arc at lists dot infradead dot org>
- Date: Thu, 20 Feb 2020 00:46:41 +0000
- Subject: Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64
- Ironport-sdr: 3fp6P0eyndVGpGpSSxEeaoME7fQEctTBUzit7vP7pYujyTJs973/PYxkLqhn+a/9A4wp61W/8G vA/epuGavsXXopudHWAcPVkamgZW0mCJDHG19WNCDPXu/gw41bbnvFgJ3jhoCO6uE/zmIo50av qXptz+cM1ggbRYo6mfOlmbzeSgdReya4TlLOBTa5I4s0lV5aYhK3TWlcfq06sAFT7qgbZvxf9/ 9eEs/OvUAFTQjpd3c3A0obReQZKCTcWKEE6aLOreWHBVHtaxyxwx48IpHeYzwACWaGcIgLUEDI oRE=
- Ironport-sdr: QUGxWYi4GGz8lvHHf7kmJULSSjDyc0unxfQUvMsimrzJyb4k3CrkDJdRylj3DRqHdTCMGD63uO 26kawwOOlOa1hjAzDcpgBFAmjAJ6uRX84kUz806e2KKSZJNuZbXD8RcP7xgfE6Ca/U+T+tAYhJ GVliWm2aH/4AXKbXRYMUtcvs7OWhmONxYktHUF2E3hNgaD9iiyGvfxQaIu/tl7YvnieEczGhlu rq4fADcZbVYgEe9QViF/WE0cqKFu7Mx6uiVUcRjZXaBXpN7C7oBOb4x5CzGy2xcwf/N9CHWsOO pzw=
- References: <cover.1578824547.git.alistair.francis@wdc.com> <4e95f95966d8d7c6a8339160dc62d81c1f6a1bfb.1578824547.git.alistair.francis@wdc.com> <67f2298c-30ab-1508-4a10-6ee285df7ad1@synopsys.com> <CAKmqyKO6u15cDbQQ644GrABi=6WWQsNLiCVLszrmDCdcWBnCPA@mail.gmail.com> <c9f11e9e-7c33-0000-e32c-346d425d7c69@synopsys.com> <mvmimk3567z.fsf@suse.de> <8239db87-d736-a6e2-913d-c1e5e937688f@synopsys.com> <20200220001822.703ee8a1@jawa> <de8f8e28-630f-7b87-1a96-6131588a0346@synopsys.com>
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