RFC: Objdump: Dumping PE specific headers

Nick Clifton nickc@redhat.com
Tue May 30 10:50:56 GMT 2023


Hi Fangrui,

> objdump -p a.exe also dumps the PE header (enabled by default without
> selecting a PE triple in --enable-targets=), but in a different
> format.

True.

> I wonder whether the -P header output can be made similar to the
> existing output...

Either that, or just omitted since it seems wasteful to dump the same
information twice.  But of course the information would only be shown
twice if both the -p and -P options were used.  Hmmm.  Conformity is
probably better.

OK - I will try to make the output similar.

Cheers
   Nick




More information about the Binutils mailing list