diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-11-01 14:09:17 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-12-05 10:05:45 +0000 |
commit | ecfbeec8d0a7687a6464caa088b2283b30a25d7e (patch) | |
tree | a6cb14ed21faf30f8525e4908c99c571bd681dbf /gas/macro.c | |
parent | 2438b771ee07be19d5b01ea55e077dd8b7cef445 (diff) | |
download | binutils-ecfbeec8d0a7687a6464caa088b2283b30a25d7e.zip binutils-ecfbeec8d0a7687a6464caa088b2283b30a25d7e.tar.gz binutils-ecfbeec8d0a7687a6464caa088b2283b30a25d7e.tar.bz2 |
libopcodes/mips: add support for disassembler styling
This commit adds disassembler styling support for MIPS. After this
commit objdump and GDB will style disassembler output.
This is a pretty straight forward change, we switch to use the
disassemble_info::fprintf_styled_func callback, and pass an
appropriate style through as needed. No additional tricks were
needed (compared to say i386, or ARM).
Tested by running all of the objdump commands used by the gas
testsuite and manually inspecting the styled output, everything looks
reasonable, though I'm not a MIPS expert, so it is possible that I've
missed some corner cases. Worst case though is that something will be
styled incorrectly, the actual content should be unchanged.
All the gas, ld, and binutils tests still pass for me.
Diffstat (limited to 'gas/macro.c')
0 files changed, 0 insertions, 0 deletions