Update printing of optional operands during disassembly.
authorPeter Bergner <bergner@linux.ibm.com>
Thu, 9 May 2019 14:09:47 +0000 (09:09 -0500)
committerPeter Bergner <bergner@linux.ibm.com>
Thu, 9 May 2019 14:09:47 +0000 (09:09 -0500)
commitbda678b9e5e4a343a9bb2b0fd20cf52035bad78e
tree84824e7309d19e73d36a41bcc5c0c2045106b66f
parent8de09632ff6683a48b8acfb05d3b35b4ab4507fe
Update printing of optional operands during disassembly.

opcodes/
* ppc-dis.c (skip_optional_operands): Change return type and returns.
(print_insn_powerpc) <skip_optional>: Change type.
Call skip_optional_operands if we have not skipped any operands.
gas/
* testsuite/gas/ppc/476.d: Update expected output.
* testsuite/gas/ppc/power6.d: Likewise.
gas/testsuite/gas/ppc/476.d
gas/testsuite/gas/ppc/power6.d
opcodes/ppc-dis.c