* config/tc-ppc.c (md_assemble): APUinfo only for e500.
authorAlan Modra <amodra@gmail.com>
Tue, 3 Mar 2009 23:15:04 +0000 (23:15 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Mar 2009 23:15:04 +0000 (23:15 +0000)
gas/ChangeLog
gas/config/tc-ppc.c

index d90b214..a52b055 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-03  Tristan Gingold  <gingold@adacore.com>
            Eric Botcazou  <ebotcazou@adacore.com>
            Douglas B Rupp  <rupp@gnat.com>
@@ -65,7 +69,7 @@
        (s_alpha_end): Clear alpha_evax_proc.
        (s_alpha_align): Increase max_alignment to 16.
        (alpha_print_token): Call print_expr_1 instead of print_expr.
-       (md_pseudo_table): Add "section", "literals", "handler" and 
+       (md_pseudo_table): Add "section", "literals", "handler" and
        "handler_data" (evax).  Do not ignore "prologue" on evax.
        Fix indentation.
        (md_begin): Create hash table for alpha_evax_proc_hash.
 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
 
        * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
-       uasx, uhasx, uhsx, uqasx, uqsax, usax. 
+       uasx, uhasx, uhsx, uqasx, uqsax, usax.
 
 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
 
index d0340df..c80dd18 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)