From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7615 invoked by alias); 3 Mar 2009 23:48:46 -0000 Received: (qmail 7597 invoked by uid 22791); 3 Mar 2009 23:48:45 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from nskntmtas02p.mx.bigpond.com (HELO nskntmtas02p.mx.bigpond.com) (61.9.168.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Mar 2009 23:48:37 +0000 Received: from nskntotgx01p.mx.bigpond.com ([121.209.33.16]) by nskntmtas02p.mx.bigpond.com with ESMTP id <20090303234834.WSVH24984.nskntmtas02p.mx.bigpond.com@nskntotgx01p.mx.bigpond.com>; Tue, 3 Mar 2009 23:48:34 +0000 Received: from bubble.grove.modra.org ([121.209.33.16]) by nskntotgx01p.mx.bigpond.com with ESMTP id <20090303234833.ZMFT19114.nskntotgx01p.mx.bigpond.com@bubble.grove.modra.org>; Tue, 3 Mar 2009 23:48:33 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 963C6170C391; Wed, 4 Mar 2009 10:18:33 +1030 (CST) Date: Tue, 03 Mar 2009 23:48:00 -0000 From: Alan Modra To: "Joseph S. Myers" Cc: Peter Bergner , Daniel Jacobowitz , Thiago Jung Bauermann , Jan Kratochvil , gdb-patches@sourceware.org, binutils@sourceware.org Subject: Re: [patch] Fix power7 ppc64 binaries loading Message-ID: <20090303234833.GE9491@bubble.grove.modra.org> Mail-Followup-To: "Joseph S. Myers" , Peter Bergner , Daniel Jacobowitz , Thiago Jung Bauermann , Jan Kratochvil , gdb-patches@sourceware.org, binutils@sourceware.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> <1236113699.6800.61.camel@otta> <20090303231626.GB9491@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.49ADC1D2.0037,ss=1,fgs=0 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/msg00044.txt.bz2 On Tue, Mar 03, 2009 at 11:30:27PM +0000, Joseph S. Myers wrote: > On Wed, 4 Mar 2009, Alan Modra wrote: > > > Google for E500 ABI. It should only be enabled when you are > > assembling for e500. I've committed the following to mainline > > and 2.19 branch. > > > > * config/tc-ppc.c (md_assemble): APUinfo only for e500. > > > - if (ppc_cpu & (PPC_OPCODE_SPE > > - | PPC_OPCODE_ISEL | PPC_OPCODE_EFS > > - | PPC_OPCODE_BRLOCK | PPC_OPCODE_PMR | PPC_OPCODE_CACHELCK > > - | PPC_OPCODE_RFMCI)) > > + if ((ppc_cpu & PPC_OPCODE_E500MC) != 0) > > Most e500 are not e500mc (indeed, e500mc is mostly like classic PowerPC at > the userspace level, not like e500). The effect of the new test is to generate .PPC.EMB.apuinfo when gas is given any of -me500, -me500x2 or -me500mc options. Is that not correct? I freely admit to not being 100% certain. -- Alan Modra Australia Development Lab, IBM