* config/tc-ppc.c (md_assemble): APUinfo only for e500.

This commit is contained in:
Alan Modra
2009-03-03 23:15:04 +00:00
parent 3efd345c3b
commit ed84b57b4d
2 changed files with 8 additions and 7 deletions

View 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> 2009-03-03 Tristan Gingold <gingold@adacore.com>
Eric Botcazou <ebotcazou@adacore.com> Eric Botcazou <ebotcazou@adacore.com>
Douglas B Rupp <rupp@gnat.com> Douglas B Rupp <rupp@gnat.com>

View File

@ -1,6 +1,6 @@
/* tc-ppc.c -- Assemble for the PowerPC or POWER (RS/6000) /* tc-ppc.c -- Assemble for the PowerPC or POWER (RS/6000)
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 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. Written by Ian Lance Taylor, Cygnus Support.
This file is part of GAS, the GNU Assembler. This file is part of GAS, the GNU Assembler.
@ -2965,10 +2965,7 @@ md_assemble (char *str)
#ifdef OBJ_ELF #ifdef OBJ_ELF
/* Do we need/want a APUinfo section? */ /* Do we need/want a APUinfo section? */
if (ppc_cpu & (PPC_OPCODE_SPE if ((ppc_cpu & PPC_OPCODE_E500MC) != 0)
| PPC_OPCODE_ISEL | PPC_OPCODE_EFS
| PPC_OPCODE_BRLOCK | PPC_OPCODE_PMR | PPC_OPCODE_CACHELCK
| PPC_OPCODE_RFMCI))
{ {
/* These are all version "1". */ /* These are all version "1". */
if (opcode->flags & PPC_OPCODE_SPE) if (opcode->flags & PPC_OPCODE_SPE)