Why objdump can recognize the PE file

Ian Lance Taylor iant@google.com
Sat Dec 27 21:45:00 GMT 2008
"mobile.parmenides" <mobile.parmenides@gmail.com> writes:

>    Within cygwin, the binutil of objdump is able to recognize PE format
> file.  But, objdump is ported from linux, why it can do like this?
> Futhermore, does it mean that objdump can recognize any type of
> executable file? just curiostioy.

objdump can recognize a wide range of object file formats.  Read the
friendly manual.  Note that although objdump fully supports GNU/Linux,
it was not ported from GNU/Linux.  objdump was written before the
Linux kernel.

Ian



More information about the Binutils mailing list