https://sourceware.org/bugzilla/show_bug.cgi?id=20795
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |amodra at gmail dot com Resolution|--- |INVALID --- Comment #1 from Alan Modra <amodra at gmail dot com> --- The default disassembly dialect is currently power9 with PPC_OPCODE_ANY enabled. So in cases where an opcode disassembles differently between power9 and some other cpu, the power9 variant is chosen, and when there is no power9 insn for a given opcode but there is a valid insn for some other cpu then that other cpu insn is displayed. This means that people can often use objdump to disassemble without specifying -M<the_right_cpu>. Your code selects a fairly generic arch/mach combination and doesn't set disInfo.disassembler_options, resulting in the default dialect. See ppc-dis.c:powerpc_init_dialect. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils