File not recognized in objdump!!

Mike Frysinger vapier@gentoo.org
Mon Mar 26 05:45:00 GMT 2007


On Monday 26 March 2007, Aashish Gupta wrote:
> I am trying to modify objdump to dump object file information for a
> ELF64 file but on a different
> kernel but its giving an error saying file format not recognized.
>
> > [root@localhost binutils]# ./objdump -s /root/Desktop/testcase/test.o
> > ./objdump: /root/Desktop/testcase/test.o: File format not recognized
>
> Which part of the code should I look for in order to get through this
> error?

probably none ... build up a binutils for a target that supports the ELF 
format you're trying to analyze and/or build up binutils 
with --enable-targets=all
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070326/7cbcb80b/attachment.sig>


More information about the Binutils mailing list