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: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>
- To: Alistair Francis <alistair dot francis at wdc dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: "arnd at arndb dot de" <arnd at arndb dot de>, "adhemerval dot zanella at linaro dot org" <adhemerval dot zanella at linaro dot org>, "fweimer at redhat dot com" <fweimer at redhat dot com>, "joseph at codesourcery dot com" <joseph at codesourcery dot com>, "palmerdabbelt at google dot com" <palmerdabbelt at google dot com>, "macro at wdc dot com" <macro at wdc dot com>, "zongbox at gmail dot com" <zongbox at gmail dot com>, "alistair23 at gmail dot com" <alistair23 at gmail dot com>, arcml <linux-snps-arc at lists dot infradead dot org>
- Date: Wed, 19 Feb 2020 00:56:56 +0000
- Subject: Re: [RFC v6 07/23] RISC-V: Use 64-bit time_t and off_t for RV32 and RV64
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SgQCtN93Pc2Sv3+huP7YhQZvjcHNKNFuWkUeK3EdAVM=; b=D5vzKupUCd0NTMBWd4bWd0/yEiiMKP2+BEDm+eL6kN5vcLmP6+ULNSRypaRXPdOo/Z9tU5+R1aEe/QMOy6IIIPXpe2lwTCfh9+yHiAcNYgoe/zBKGQ4xBf34vM2/HrtAHNv8KIy/AyORaTbH6y3Jax90zPeYagYfDBYXEyu1eDThzuU6sxNTq/fuAE2x5Ah3I/708/sqjULdbf/zAdRP+0K7YRBAERx8lD+Jq5+m0XieH2t7nt4w2stDCWLEvDHcZcTUSUNinMq6PL6OQ5Ln5FF3GW5RC6kZ2Pj+VYwYHMseNacN7Llyryl+s1G7PbPIMohDVPtbLBCalkErnt2DeA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BJw+PDeBl+YcQy+C/HFfHH3wwvoypE9DqKHbM4J8uQgKvuORpFrtyDhciyeRkJ+1Qd7qYcQcK4LynIS59ieSmr4YiTJCBp9rmSjajdV6/uaXRv36bnRkG6in/DmneZI2irWrDhdMYP0+lVnNTQXP03grXwPlfvWgKAL58hAr6ZS5AAtlByula4MLqlZxIq4ccjlhRWs7+SEZay/Olcf1l+SopBaedW8ax1/zKyup87lxA8nER7Zsl1nGYHdseaN2we6LzT1bXbg3JxcNfjUU21P4FXvHLYKAgTMsAIPtshOCEmL61tZ9wtfo9mn3bBrE6bWDMN4uQzmlYzIn/FxHdg==
- References: <cover.1578824547.git.alistair.francis@wdc.com> <4e95f95966d8d7c6a8339160dc62d81c1f6a1bfb.1578824547.git.alistair.francis@wdc.com>
Hi Alistair,
On 1/12/20 2:33 AM, Alistair Francis wrote:
> diff --git a/sysdeps/unix/sysv/linux/riscv/kernel_stat.h b/sysdeps/unix/sysv/linux/riscv/kernel_stat.h
[snip]...
> +#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().
> +
> +#define XSTAT_IS_XSTAT64 1
> +#define STATFS_IS_STATFS64 0
>