From: Alan Modra Date: Tue, 3 Mar 2009 23:16:02 +0000 (+0000) Subject: * config/tc-ppc.c (md_assemble): APUinfo only for e500. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2d5ca36efbff4395cc7513ce77d9e120b218b8e;p=thirdparty%2Fbinutils-gdb.git * config/tc-ppc.c (md_assemble): APUinfo only for e500. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 159803add30..33d597519f0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2009-03-04 Alan Modra + + * config/tc-ppc.c (md_assemble): APUinfo only for e500. + 2009-03-02 Alan Modra 2009-02-26 Peter Bergner @@ -154,7 +158,7 @@ targets. * doc/c-i386.texi (i386-Directives): New node. Used to document the .lcomm directive. - + 2008-08-30 John David Anglin * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 14ac20da591..8acd78e5998 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1,6 +1,6 @@ /* tc-ppc.c -- Assemble for the PowerPC or POWER (RS/6000) Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. This file is part of GAS, the GNU Assembler. @@ -2965,10 +2965,7 @@ md_assemble (char *str) #ifdef OBJ_ELF /* Do we need/want a APUinfo section? */ - 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) { /* These are all version "1". */ if (opcode->flags & PPC_OPCODE_SPE)