From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28441 invoked by alias); 29 Oct 2007 19:24:17 -0000 Received: (qmail 28430 invoked by uid 22791); 29 Oct 2007 19:24:16 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 29 Oct 2007 19:24:15 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id l9TJOC4C035678 for ; Mon, 29 Oct 2007 19:24:12 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.5) with ESMTP id l9TJOCDe1970318 for ; Mon, 29 Oct 2007 20:24:12 +0100 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 l9TJOCsE004128 for ; Mon, 29 Oct 2007 20:24:12 +0100 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 l9TJOC7h004125; Mon, 29 Oct 2007 20:24:12 +0100 Message-Id: <200710291924.l9TJOC7h004125@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 29 Oct 2007 20:24:12 +0100 Subject: Re: [rfc] PowerPC ABI detection and overrides To: drow@false.org (Daniel Jacobowitz) Date: Mon, 29 Oct 2007 19:27:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20071029191328.GA13900@caradoc.them.org> from "Daniel Jacobowitz" at Oct 29, 2007 03:13:28 PM 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-10/txt/msg00771.txt.bz2 Daniel Jacobowitz wrote: > Ignoring abfd is deliberate; we should be able to construct the same > arch with or without a BFD. But ignoring things derived from abfd is > a bug indeed. The MIPS target stashes ELF flags in its tdep structure > for this reason. PowerPC may not need that heavyweight check, but it > does need some other things, e.g., sysv_abi. Actually that's the only > one that I see that ought to be checked. Maybe that will fix the bug? Yes, the bug I had was related to sysv_abi. And in fact, sysv_abi should be fully detectable simply from looking at info.osabi, it should IMO not be computed independently from the BFD. That's why I thought the proper way to fix this problem was to stop looking directly at the BFD ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com