From 33740db9cdb8b52ebf1b008fa59219cb2af0ae9c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 20 Jul 2010 05:07:23 +0000 Subject: [PATCH] * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many. --- gas/ChangeLog | 4 ++++ gas/config/tc-ppc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2fa9ed5fafb..45d7cb579e5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-07-20 Alan Modra + + * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many. + 2010-07-16 Alan Modra * 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 1321cd44626..c8e24e42dcd 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; -- 2.30.2