PowerPC Default disassembler to -Mpower10

* ppc-dis.c (powerpc_init_dialect): Default to "power10".
This commit is contained in:
Alan Modra 2020-05-11 09:25:30 +09:30
parent 7c1f422735
commit 6bbb0c0595
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-05-11 Alan Modra <amodra@gmail.com>
* ppc-dis.c (powerpc_init_dialect): Default to "power10".
2020-05-11 Alan Modra <amodra@gmail.com>
* ppc-dis.c (ppc_opts): Add "power10" entry.

View File

@ -359,7 +359,7 @@ powerpc_init_dialect (struct disassemble_info *info)
break;
default:
if (info->arch == bfd_arch_powerpc)
dialect = ppc_parse_cpu (dialect, &sticky, "power9") | PPC_OPCODE_ANY;
dialect = ppc_parse_cpu (dialect, &sticky, "power10") | PPC_OPCODE_ANY;
else
dialect = ppc_parse_cpu (dialect, &sticky, "pwr");
break;