]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-ppc.c (md_assemble): APUinfo only for e500.
authorAlan Modra <amodra@gmail.com>
Tue, 3 Mar 2009 23:16:02 +0000 (23:16 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Mar 2009 23:16:02 +0000 (23:16 +0000)
gas/ChangeLog
gas/config/tc-ppc.c

index 159803add30546c410733eb01ae49626306c73e4..33d597519f060d457b4ed5abd64d57bbf809bf11 100644 (file)
@@ -1,3 +1,7 @@
+2009-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (md_assemble): APUinfo only for e500.
+
 2009-03-02  Alan Modra  <amodra@bigpond.net.au>
 
        2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
        targets.
        * doc/c-i386.texi (i386-Directives): New node.  Used to document
        the .lcomm directive.
-       
+
 2008-08-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
index 14ac20da59187e805298c54065d11cb42294ee41..8acd78e5998fc0e90a7a1bc76d6e44a6ab24fa8d 100644 (file)
@@ -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)