From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26764 invoked by alias); 26 Mar 2004 16:23:38 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26757 invoked from network); 26 Mar 2004 16:23:37 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 26 Mar 2004 16:23:37 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2QGNb1X009179 for ; Fri, 26 Mar 2004 11:23:37 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2QGNbj23098; Fri, 26 Mar 2004 11:23:37 -0500 Received: from localhost.localdomain (vpn50-37.rdu.redhat.com [172.16.50.37]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i2QGNa53027132; Fri, 26 Mar 2004 11:23:36 -0500 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i2QGNVOR015180; Fri, 26 Mar 2004 09:23:31 -0700 Date: Fri, 26 Mar 2004 16:23:00 -0000 From: Kevin Buettner To: Jim Blandy Cc: gdb-patches@sources.redhat.com, Daniel Jacobowitz Subject: Re: RFA: correct size of long double on PPC Linux Message-Id: <20040326092331.48ba4547@saguaro> In-Reply-To: References: <20040325222358.1e0ccbe8@saguaro> <20040326151957.GA15739@nevyn.them.org> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00664.txt.bz2 On 26 Mar 2004 10:45:13 -0500 Jim Blandy wrote: > Daniel Jacobowitz writes: > > > On Thu, Mar 25, 2004 at 10:23:58PM -0700, Kevin Buettner wrote: > > > On 24 Mar 2004 13:10:33 -0500 > > > Jim Blandy wrote: > > > > > > > 2004-03-24 Jim Blandy > > > > > > > > * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight > > > > bytes long on PPC Linux. > > > > > > Can you provide the ABI reference for this? > > > > > > According to the documentation that I have (which is the System V ABI > > > PowerPC Processor Supplement), the size of a long double is 16 bytes. > > > > Yes - this is one of the known warts in the PPC GNU/Linux ABI. People > > have been talking for years about fixing it to match the SysV ABI. GCC > > only recently got 128-bit long double support on PPC, so it may be > > changing soon; but for all existing PPC GNU/Linux systems I know of, > > eight bytes is correct. > > I went to the Linux Standards Base, and it said that programs that use > 'long double' on PPC Linux are non-conformant. So I figured the best > I could do was to make GDB match GCC. Okay, this patch is approved then, so long as you add a suitable comment about PPC Linux deviating from the System V ABI on this matter. Thanks! Kevin