A PE patch.

Nick Clifton nickc@redhat.com
Tue Feb 6 11:27:00 GMT 2001


Hi H.J.

: I don't like the pe_bfd_object_p code. It is full of kludges. Also it
: is nice to check DOSMAGIC. I rewrote it.

Sorry for the long time before replying.

: 2001-01-23  H.J. Lu  <hjl@gnu.org>
: 
: 	* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
: 	(struct external_PEI_IMAGE_hdr): New.
: 	
: 	* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
: 	checking.
: 	(pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
: 	external_PEI_IMAGE_hdr.

Approved.

Cheers
	Nick


More information about the Binutils mailing list