This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: bfd/peigen.c problems and fix
- To: Donn Terry <donnte at microsoft dot com>
- Subject: Re: bfd/peigen.c problems and fix
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Mon, 8 May 2000 16:14:22 +1000 (EST)
- cc: binutils at sourceware dot cygnus dot com
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.