From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9437 invoked by alias); 3 Mar 2009 20:54:52 -0000 Received: (qmail 9425 invoked by uid 22791); 3 Mar 2009 20:54:52 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from e8.ny.us.ibm.com (HELO e8.ny.us.ibm.com) (32.97.182.138) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Mar 2009 20:54:45 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n23KlERg016625 for ; Tue, 3 Mar 2009 15:47:14 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n23Ksguv186694 for ; Tue, 3 Mar 2009 15:54:42 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n23KsgKc000886 for ; Tue, 3 Mar 2009 15:54:42 -0500 Received: from [192.168.1.102] (vorma.rchland.ibm.com [9.10.86.174]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n23Kse1X000840; Tue, 3 Mar 2009 15:54:41 -0500 Subject: Re: [patch] Fix power7 ppc64 binaries loading From: Peter Bergner To: Daniel Jacobowitz Cc: Thiago Jung Bauermann , Jan Kratochvil , gdb-patches@sourceware.org, Alan Modra In-Reply-To: <20090303203050.GA2551@caradoc.them.org> References: <20090302210237.GA23798@host0.dyn.jankratochvil.net> <20090302212403.GA3473@caradoc.them.org> <20090302213340.GA7433@host0.dyn.jankratochvil.net> <1236111881.30573.61.camel@localhost.localdomain> <20090303203050.GA2551@caradoc.them.org> Content-Type: text/plain Date: Tue, 03 Mar 2009 20:54:00 -0000 Message-Id: <1236113699.6800.61.camel@otta> Mime-Version: 1.0 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: 2009-03/txt/msg00037.txt.bz2 On Tue, 2009-03-03 at 15:30 -0500, Daniel Jacobowitz wrote: > On Tue, Mar 03, 2009 at 05:24:41PM -0300, Thiago Jung Bauermann wrote: > > Does apuinfo get generated for every binary in every platform? Why > > wasn't this an issue before? It just started being generated recently? > > I assume it is only generated for specific ISA extensions - and that > both POWER7 and e500 have them. GAS says: > > if (ppc_cpu & (PPC_OPCODE_SPE > | PPC_OPCODE_ISEL | PPC_OPCODE_EFS > | PPC_OPCODE_BRLOCK | PPC_OPCODE_PMR | PPC_OPCODE_CACHELCK > | PPC_OPCODE_RFMCI)) With Power ISA 2.06 which was just recently announced on power.org, the isel instruction has now moved from an optional instruction to a required instruction. The POWER7 processor is ISA 2.06 compliant, so it has the PPC_OPCODE_ISEL flag set which triggers this...as will all future Power processors. That said, I have no idea what the apuinfo section is being used for. Peter