From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20610 invoked by alias); 11 May 2008 22:20:05 -0000 Received: (qmail 20597 invoked by uid 22791); 11 May 2008 22:20:04 -0000 X-Spam-Check-By: sourceware.org Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net (HELO sunset.davemloft.net) (74.93.104.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 May 2008 22:19:47 +0000 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id D7E61C8C2D6 for ; Sun, 11 May 2008 15:19:40 -0700 (PDT) Date: Mon, 12 May 2008 16:01:00 -0000 Message-Id: <20080511.151940.173655400.davem@davemloft.net> To: gdb-patches@sourceware.org Subject: [PATCH]: Remove sparc-linux long double size override. From: David Miller X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2008-05/txt/msg00373.txt.bz2 We realized many years ago that using 64-bit long doubles for 32-bit sparc was a mistake and migrated all of userland over to using proper 128-bit long doubles. There isn't a way to really detect this at run time, but I think it's better to move forward and delete this override and get current systems right rather than support ancient ones. This fixes another swath of testsuite failures. Ok to apply? 2008-05-11 David S. Miller * sparc-linux-tdep.c (sparc32_linux_init_abi): Remove long double size override, Linux does use 128-bit now. Index: gdb/sparc-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-linux-tdep.c,v retrieving revision 1.27 diff -u -r1.27 sparc-linux-tdep.c --- gdb/sparc-linux-tdep.c 11 May 2008 22:10:30 -0000 1.27 +++ gdb/sparc-linux-tdep.c 11 May 2008 22:16:42 -0000 @@ -264,10 +264,6 @@ prologue analysis. */ tdep->plt_entry_size = 12; - /* GNU/Linux doesn't support the 128-bit `long double' from the psABI. */ - set_gdbarch_long_double_bit (gdbarch, 64); - set_gdbarch_long_double_format (gdbarch, floatformats_ieee_double); - /* Enable TLS support. */ set_gdbarch_fetch_tls_load_module_address (gdbarch, svr4_fetch_objfile_link_map);