From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25567 invoked by alias); 21 Apr 2002 00:59:42 -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 25499 invoked from network); 21 Apr 2002 00:59:41 -0000 Received: from unknown (HELO pizda.ninka.net) (216.101.162.242) by sources.redhat.com with SMTP; 21 Apr 2002 00:59:41 -0000 Received: from localhost (IDENT:davem@localhost.localdomain [127.0.0.1]) by pizda.ninka.net (8.9.3/8.9.3) with ESMTP id RAA17645; Sat, 20 Apr 2002 17:50:50 -0700 Date: Sat, 20 Apr 2002 17:59:00 -0000 Message-Id: <20020420.175049.83695986.davem@redhat.com> To: thorpej@wasabisystems.com Cc: msnyder@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] Sparc/Linux fixes part 1 From: "David S. Miller" In-Reply-To: <20020420100052.U1627@dr-evil.shagadelic.org> References: <3CC0C38C.237D5798@redhat.com> <20020419.184709.103241554.davem@redhat.com> <20020420100052.U1627@dr-evil.shagadelic.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00694.txt.bz2 From: Jason R Thorpe Date: Sat, 20 Apr 2002 10:00:52 -0700 Err, the ARM target deals with multiple OS settings in the multi-arch framework... This won't work at all for my case. There is no "elfosabi" to use to distinguish between Solaris ELF 32-bit Sparc (which has 16 byte long doubles) and Linux ELF 32-bit Sparc (which has 8 byte long doubles). The OS tag is listed as SYSV in both cases. Maybe I can say "there is no way to distinguish whether it is a Linux 32-bit Sparc binary or a Solaris 32-bit Sparc one" 50 more times and people would begin to understand the situation. Here, let me show everyone exactly what I am saying: ? uname -a Linux nuts.ninka.net 2.4.19-pre7 #1 SMP Fri Apr 19 20:18:39 PDT 2002 sparc64 unknown ? readelf -h /bin/sh | grep OS OS/ABI: UNIX - System V ? bash-2.03$ uname -a SunOS caip.rutgers.edu 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-Enterprise-10000 bash-2.03$ readelf -h /bin/sh | grep OS OS/ABI: UNIX - System V bash-2.03$ See? Franks a lot, David S. Miller davem@redhat.com