Fix value in comment of disassembled ARM type A opcodes.
* arm-dis.c (print_insn_thumb32): Fix value_in_comment.
This commit is contained in:
parent
122a483d4f
commit
fe50e98c9a
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2017-05-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
||||||
|
|
||||||
|
* arm-dis.c (print_insn_thumb32): Fix value_in_comment.
|
||||||
|
|
||||||
2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
|
2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
|
||||||
|
|
||||||
* arc-dis.c (print_insn_arc): Smartly print enter/leave mnemonics.
|
* arc-dis.c (print_insn_arc): Smartly print enter/leave mnemonics.
|
||||||
|
|
|
@ -5733,7 +5733,7 @@ print_insn_thumb32 (bfd_vma pc, struct disassemble_info *info, long given)
|
||||||
if (off || !U)
|
if (off || !U)
|
||||||
{
|
{
|
||||||
func (stream, ", #%c%u", U ? '+' : '-', off * 4);
|
func (stream, ", #%c%u", U ? '+' : '-', off * 4);
|
||||||
value_in_comment = (off && U) ? 1 : -1;
|
value_in_comment = off * 4 * (U ? 1 : -1);
|
||||||
}
|
}
|
||||||
func (stream, "]");
|
func (stream, "]");
|
||||||
if (W)
|
if (W)
|
||||||
|
@ -5745,7 +5745,7 @@ print_insn_thumb32 (bfd_vma pc, struct disassemble_info *info, long given)
|
||||||
if (W)
|
if (W)
|
||||||
{
|
{
|
||||||
func (stream, "#%c%u", U ? '+' : '-', off * 4);
|
func (stream, "#%c%u", U ? '+' : '-', off * 4);
|
||||||
value_in_comment = (off && U) ? 1 : -1;
|
value_in_comment = off * 4 * (U ? 1 : -1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue