checking elf flags in disassembler?

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed Jun 25 01:26:00 GMT 2014


> From: DJ Delorie <dj@redhat.com>
> Date: Wed, 25 Jun 2014 02:58:58 +0200

> I need to test the elf flags in the RL78 disassembler to customize the
> opcodes accordingly, but the disassmble_info doesn't give access to
> it, just to other fields that don't provide the info I need.
> 
> Suggestions?

A trick question? :)
You have the BFD in disassemble.c:disassembler, you can for
example pick the disassembler-function there; not just return
print_insn_rl78.  (Done in the CRIS port, for v32 vs. pre-v32
same method for other ports.)

brgds, H-P



More information about the Binutils mailing list