From owner-freebsd-mips@FreeBSD.ORG Fri Apr 29 19:27:35 2011 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B04AF106564A; Fri, 29 Apr 2011 19:27:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (unknown [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 71DA68FC08; Fri, 29 Apr 2011 19:27:35 +0000 (UTC) Received: from [10.30.101.54] ([209.117.142.2]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p3TJOI3S097097 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 29 Apr 2011 13:24:20 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Fri, 29 Apr 2011 13:24:12 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Jayachandran C." X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Fri, 29 Apr 2011 13:24:21 -0600 (MDT) Cc: Juli Mallett , freebsd-mips@FreeBSD.org Subject: Re: 64 bit time_t in 32 bit ABI? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 19:27:35 -0000 I thought we made all new architectures adopt a 32-bit time_t and that's = why it is this way. Warner On Apr 29, 2011, at 11:36 AM, Jayachandran C. wrote: > In sys/mips/include/_types.h, I see >=20 > | 119 typedef __int64_t __time_t; /* time()... */ >=20 > Which as far as I can see, is not right for the 32-bit ABIs. But this > definition has been there for a long time, so I would like to know if > there is any reason for this? >=20 > Since this is a user-visible type, changing it would break binary = compatibility. >=20 > Thanks, > JC. >=20 >=20