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

Nick Clifton nickc@redhat.com
Tue Jun 14 10:22:00 GMT 2005


Hi Torsten,

> v850-unknown-elf-objdump: Can't disassemble for architecture UNKNOWN!

Are you sure that you are giving v850-unknown-elf-objdump an ELF binary 
that contains v850 instructions ?  This message means that the objdump 
program did not recognise the format of the instructions inside the 
binary file that it had been asked to disassemble.

> I created an empty project with just some basic stuff in it and created
> an ELF file (~35 kB).  I could post this here if it would help.

Yes please.  (Compressed if possible please).  Can you also tell us how 
you created this binary ?  ie what command line(s) were involved ?

> Can i modify the ELF file in a way to make objdump work?

No, but you could try creating a different objdump program that might 
work.  If you configure a new build with this switch:

   --enable-targets=all

instead of --target=v850-unknown-elf, and then build objdump you *may* 
end up with a version that will recognise your file.  Of course this is 
assuming that the GreenHills toolchain that you are using is producing 
binaries that are compatible with the GNU binutils.  This may well not 
be true.

Cheers
   Nick



More information about the Binutils mailing list