RFC: Objdump: Dumping PE specific headers

Nick Clifton nickc@redhat.com
Tue May 30 10:48:13 GMT 2023


Hi Alan,

> arm-pe  +FAIL: objdump -P (dump headers)
> arm-pe  +FAIL: objdump -P (dump sections)

> tmpdir/bintest.o:     file format pe-arm-little
> /build/gas/arm-pe/binutils/objdump: not a PE format binary - unexpected magic number: 0xa00

Ah - thanks for letting me know, and fixing this problem.
I had checked the results for an arm-wince-pe target, but I had
forgotten that the arm-pe target is different.

I have checked in a small additional patch so that the 0xa00
value is now reported as an ARM magic number, rather than just
an unknown machine type.

Cheers
   Nick





More information about the Binutils mailing list