diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-09 18:50:58 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-09 18:50:58 +0000 |
commit | 1cb0a7674666a4beff8f5f76f4392051ea649a82 (patch) | |
tree | f0ef04051c758472bd4e93077092aacd2e7819ff /gas/config/tc-ppc.c | |
parent | 87f707814cb2289f4178999975b54ab5e736eecc (diff) | |
download | gdb-1cb0a7674666a4beff8f5f76f4392051ea649a82.zip gdb-1cb0a7674666a4beff8f5f76f4392051ea649a82.tar.gz gdb-1cb0a7674666a4beff8f5f76f4392051ea649a82.tar.bz2 |
gas/
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
Test the new "deprecated" opcode field.
include/opcode/
* ppc.h (struct powerpc_opcode): New field "deprecated".
(PPC_OPCODE_NOPOWER4): Delete.
opcodes/
* ppc-opc.c (PPCNONE): Define.
(NOPOWER4): Delete.
(powerpc_opcodes): Initialize the new "deprecated" field.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index cf67a01..66a2115 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1412,8 +1412,7 @@ ppc_setup_opcodes (void) || ((op->flags & (PPC_OPCODE_32 | PPC_OPCODE_64)) == (ppc_cpu & (PPC_OPCODE_32 | PPC_OPCODE_64))) || (ppc_cpu & PPC_OPCODE_64_BRIDGE) != 0) - && ((ppc_cpu & PPC_OPCODE_POWER4) == 0 - || (op->flags & PPC_OPCODE_NOPOWER4) == 0)) + && !(ppc_cpu & op->deprecated)) { const char *retval; |