mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
opcodes: xtensa: improve literal output
Output literals as 4-byte words, not as separate bytes. 2021-04-23 Max Filippov <jcmvbkbc@gmail.com> opcodes/ * xtensa-dis.c (print_insn_xtensa): Set info->bytes_per_chunk to 4 for literal disassembly.
This commit is contained in:
parent
9fc2995588
commit
c1cbb7d8a1
@ -1,3 +1,8 @@
|
||||
2021-04-23 Max Filippov <jcmvbkbc@gmail.com>
|
||||
|
||||
* xtensa-dis.c (print_insn_xtensa): Set info->bytes_per_chunk
|
||||
to 4 for literal disassembly.
|
||||
|
||||
2021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
||||
|
||||
* aarch64-opc.c: Add new registers (RPAOS, RPALOS, PAALLOS, PAALL) support
|
||||
|
@ -381,6 +381,7 @@ print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info)
|
||||
if (insn_block && (insn_block->flags & XTENSA_PROP_LITERAL)
|
||||
&& (memaddr & 3) == 0 && bytes_fetched >= 4)
|
||||
{
|
||||
info->bytes_per_chunk = 4;
|
||||
return 4;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user