This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: checking elf flags in disassembler?


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]