File not recognized in objdump!!

Nick Clifton nickc@redhat.com
Wed Mar 28 09:59:00 GMT 2007
Hi Aashish,


> 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.

Try looking at the source code for the function elfNN_ia64_object_p in 
bfd/elfxx-ia64.c.  This is probably where your object file should be 
recognised.  (Note, during the binutils building process the "NN" in 
elfNN_ia64_object_p is replaced with "64", hence when you are debugging 
objdump you should look for the function elf64_ia64_object_p).

Cheers
   Nick




More information about the Binutils mailing list