PowerPC Default disassembler to -Mpower10

Message ID 20200511112519.GT27573@bubble.grove.modra.org
State New
Headers show
Series
  • PowerPC Default disassembler to -Mpower10
Related show

Commit Message

* ppc-dis.c (powerpc_init_dialect): Default to "power10".


-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c
index 1c341b279f..28212ffc38 100644
--- a/opcodes/ppc-dis.c
+++ b/opcodes/ppc-dis.c
@@ -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;