From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5076 invoked by alias); 26 Mar 2004 15:19:59 -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 5069 invoked from network); 26 Mar 2004 15:19:58 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 26 Mar 2004 15:19:58 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B6t7m-00049I-7k; Fri, 26 Mar 2004 10:19:58 -0500 Date: Fri, 26 Mar 2004 15:19:00 -0000 From: Daniel Jacobowitz To: Kevin Buettner Cc: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: RFA: correct size of long double on PPC Linux Message-ID: <20040326151957.GA15739@nevyn.them.org> Mail-Followup-To: Kevin Buettner , Jim Blandy , gdb-patches@sources.redhat.com References: <20040325222358.1e0ccbe8@saguaro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040325222358.1e0ccbe8@saguaro> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00661.txt.bz2 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. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer