v850-unknown-elf-objdump, can't disassemble for architecture unknown

Torsten Mohr tmohr@s.netic.de
Tue Jun 14 21:27:00 GMT 2005


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.



More information about the Binutils mailing list