XCOFF disassembler
authorAlan Modra <amodra@gmail.com>
Wed, 7 Mar 2018 00:36:15 +0000 (11:06 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 7 Mar 2018 06:26:39 +0000 (16:56 +1030)
commit52fe4420b771a0f3b4fc7c6535bbd6e9b279f775
tree5c95445c7b005e3ffacf0c1f6af007aa50243c69
parent0118219e1850a05ceb181a4f47a6906c01c17c83
XCOFF disassembler

xcoff (32-bit) objdump accepted but ignored -M options unless
-mpowerpc was also given.  This patch fixes that, leaving the default
as -Mpwr for xcoff.  I've also enabled more tests for xcoff targets.

binutils/
* configure.ac: Add objdump_private_desc_xcoff for rs6000.
* configure: Regenerate.
gas/
* testsuite/gas/ppc/aix.exp: Run for rs6000 too.
* testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
* testsuite/gas/ppc/machine.d: Don't run for PE targets.
opcodes/
* disassemble.c (disassembler): Use bfd_arch_powerpc entry for
bfd_arch_rs6000.
* disassemble.h (print_insn_rs6000): Delete.
* ppc-dis.c (powerpc_init_dialect): Handle rs6000.
(disassemble_init_powerpc): Call powerpc_init_dialect for rs6000.
(print_insn_rs6000): Delete.
binutils/ChangeLog
binutils/configure
binutils/configure.ac
gas/ChangeLog
gas/testsuite/gas/ppc/aix.exp
gas/testsuite/gas/ppc/machine.d
gas/testsuite/gas/ppc/ppc.exp
opcodes/ChangeLog
opcodes/disassemble.c
opcodes/disassemble.h
opcodes/ppc-dis.c