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: Andreas Schwab <schwab at suse dot de>
- To: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>
- Cc: Alistair Francis <alistair23 at gmail dot com>, "fweimer\@redhat.com" <fweimer at redhat dot com>, "libc-alpha\@sourceware.org" <libc-alpha at sourceware dot org>, "arnd\@arndb.de" <arnd at arndb dot de>, "palmerdabbelt\@google.com" <palmerdabbelt at google dot com>, "zongbox\@gmail.com" <zongbox at gmail dot com>, Alistair Francis <alistair dot francis at wdc dot com>, "adhemerval.zanella\@linaro.org" <adhemerval dot zanella at linaro dot org>, "macro\@wdc.com" <macro at wdc dot com>, arcml <linux-snps-arc at lists dot infradead dot org>, "joseph\@codesourcery.com" <joseph at codesourcery dot com>
- Date: Wed, 19 Feb 2020 09:30:56 +0100
- Subject: Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64
- 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>
On Feb 19 2020, Vineet Gupta wrote:
> On 2/18/20 5:03 PM, Alistair Francis wrote:
>>>> +#define STAT_IS_KERNEL_STAT 1
>>> Isn't this irrelevant: seems to be only used for legacy __NR_stat/__NR_stat64
>>> syscalls based__xstat()/__xstat64().
>> Is it? It seems to be used in a few places, including:
>>
>> sysdeps/unix/sysv/linux/fxstatat.c
>> sysdeps/unix/sysv/linux/xstatconv.c
>
> AFAIK that is not part of the asm-generic syscall ABI which ARC, RISCV et al use !
The latter is still included by everyone, though.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."