bfd/peigen.c problems and fix

Alan Modra alan@linuxcare.com.au
Sun May 7 23:15:00 GMT 2000


I checked in this patch to address some of the pei problems.

2000-05-08  Alan Modra  <alan@linuxcare.com.au>

	* peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
	add_data_entry.  DataDirectory virtual address is relative.
	(pe_print_idata): Account for relative DataDirectory virtual
	addresses.  Don't trash datasize inside POWERPC_LE_PE code.
	(pe_print_edata): Similarly.

	From Szabolcs Szakacsits <szaka@F-Secure.com>
	* peigen.c (dir_names): Add Delay Import Directory.
	(pe_print_idata):  Always search for bfd section containing
	idata address rather than looking up section name.  Print this
	section name rather than .idata.
	(pe_print_edata): Similarly.  Also print some fields as %08lx.
	(_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
	Win32Version.

-- 
Linuxcare.  Support for the Revolution.



More information about the Binutils mailing list