This is the mail archive of the binutils@sources.redhat.com 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: v850-unknown-elf-objdump, can't disassemble for architecture unknown


Hi,

> It's been a long time - but I seem to remember that the GHS tools use a
> different machine number for V850 than the GNU tools do.  I think they
> use EM_V800 even though it's a V850; we expect EM_V850.

great, thanks.

I downloaded libelf, looked up EM_V850, patched the ELF file, and now
v850-unknown-elf-objdump -h -S works as expected!

So i need to have a patched version of the ELF file to work on it with
binutils?

I guess (if that even exists) v800-unknown-elf does not disassemble
the v850 opcodes?

I also guess there is no option to override e_machine?


So to have a patched version of the ELF file is the easiest way to go?


Best regards,
Torsten.


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