From 6bbb0c0595660e6bc7477126a5b1adaf5387d006 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 11 May 2020 09:25:30 +0930 Subject: [PATCH] PowerPC Default disassembler to -Mpower10 * ppc-dis.c (powerpc_init_dialect): Default to "power10". --- opcodes/ChangeLog | 4 ++++ opcodes/ppc-dis.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e9975d3e079..25735b76d98 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2020-05-11 Alan Modra + + * ppc-dis.c (powerpc_init_dialect): Default to "power10". + 2020-05-11 Alan Modra * ppc-dis.c (ppc_opts): Add "power10" entry. diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 1c341b279f0..28212ffc38a 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; -- 2.30.2