mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
PowerPC objdump -Mraw
* ppc-dis.c (print_insn_powerpc) Don't skip optional operands when -Mraw is in effect.
This commit is contained in:
parent
55cb8bb5a8
commit
0067be51e9
@ -1,3 +1,8 @@
|
||||
2019-05-11 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ppc-dis.c (print_insn_powerpc) Don't skip optional operands
|
||||
when -Mraw is in effect.
|
||||
|
||||
2019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
|
||||
|
||||
* aarch64-dis-2.c: Regenerate.
|
||||
|
@ -749,9 +749,11 @@ print_insn_powerpc (bfd_vma memaddr,
|
||||
|
||||
operand = powerpc_operands + *opindex;
|
||||
|
||||
/* If all of the optional operands have the value zero,
|
||||
then don't print any of them. */
|
||||
if ((operand->flags & PPC_OPERAND_OPTIONAL) != 0)
|
||||
/* If all of the optional operands past this one have their
|
||||
default value, then don't print any of them. Except in
|
||||
raw mode, print them all. */
|
||||
if ((operand->flags & PPC_OPERAND_OPTIONAL) != 0
|
||||
&& (dialect & PPC_OPCODE_RAW) == 0)
|
||||
{
|
||||
if (!skip_optional)
|
||||
skip_optional = skip_optional_operands (opindex, insn, dialect);
|
||||
|
Loading…
Reference in New Issue
Block a user