aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-07-20 05:07:23 +0000
committerAlan Modra <amodra@gmail.com>2010-07-20 05:07:23 +0000
commit33740db9cdb8b52ebf1b008fa59219cb2af0ae9c (patch)
tree564c3bfd828be63d38b5f7e926a30872779e5195
parentfcdc9c861bb98b3cf09b172bfb7d4d223449a1af (diff)
downloadgdb-33740db9cdb8b52ebf1b008fa59219cb2af0ae9c.zip
gdb-33740db9cdb8b52ebf1b008fa59219cb2af0ae9c.tar.gz
gdb-33740db9cdb8b52ebf1b008fa59219cb2af0ae9c.tar.bz2
* config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-ppc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2fa9ed5..45d7cb5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-20 Alan Modra <amodra@gmail.com>
+
+ * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
+
2010-07-16 Alan Modra <amodra@gmail.com>
* config/tc-rx.c (md_estimate_size_before_relax): Fix format
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 1321cd4..c8e24e4 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1498,7 +1498,7 @@ ppc_setup_opcodes (void)
macro_end = powerpc_macros + powerpc_num_macros;
for (macro = powerpc_macros; macro < macro_end; macro++)
{
- if ((macro->flags & ppc_cpu) != 0)
+ if ((macro->flags & ppc_cpu) != 0 || (ppc_cpu & PPC_OPCODE_ANY) != 0)
{
const char *retval;