From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21448 invoked by alias); 28 Apr 2007 16:24:23 -0000 Received: (qmail 21438 invoked by uid 22791); 28 Apr 2007 16:24:23 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.29.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Apr 2007 17:24:18 +0100 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.8/8.13.8) with ESMTP id l3SGOFaT077866 for ; Sat, 28 Apr 2007 16:24:15 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l3SGOFlK4165698 for ; Sat, 28 Apr 2007 18:24:15 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l3SGOFc6032047 for ; Sat, 28 Apr 2007 18:24:15 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id l3SGOEJZ032044; Sat, 28 Apr 2007 18:24:14 +0200 Message-Id: <200704281624.l3SGOEJZ032044@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Sat, 28 Apr 2007 18:24:14 +0200 Subject: Re: [RFC] Detecting and printing 128-bit long double values for PPC To: drow@false.org (Daniel Jacobowitz) Date: Sat, 28 Apr 2007 16:27:00 -0000 From: "Ulrich Weigand" Cc: luisgpm@linux.vnet.ibm.com (Luis Machado), gdb-patches@sourceware.org (gdb-patches ml) In-Reply-To: <20070428140823.GA31111@caradoc.them.org> from "Daniel Jacobowitz" at Apr 28, 2007 10:08:23 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00372.txt.bz2 Daniel Jacobowitz wrote: > Unfortunately most of Mark's comments are still unaddressed. The > formatting doesn't follow the GNU coding standards, and the real > issue with this patch is that there are a lot of systems out in the > world that use 64-bit long double still. > > I mentioned last week on gdb@ and binutils@ that I think we need a way > to mark the ABI used by PowerPC binaries. That would easily cover > this also. I'll be thinking about it more next week. We have the same situation on s390, where we switched from 64-bit to 128-bit long double a while ago. Like PowerPC, there is currently no way to recognize how a binary was built ... While an ABI marker might be a good idea in the future, we're stuck with the situation right now that many unmarked 128-bit long double binaries are already out there (e.g. all of SLES 10 and RHEL 5), and we really should be able to debug those properly. Thus I'm wondering whether we shouldn't have a reasonable default for unmarked binaries, presumably based on the system compiler defaults detected at configure time for native builds, and then provide a command allowing the user to override that default? Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com