This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: IA64 PE/COFF (efi-app-ia64) image has bad VirtualSize field
On Thu, 8 Jan 2004, Nick Clifton wrote:
>
> > Although I tried your commands above with binutils 2.14.90.0.4, and
> > got a zero for VirtualSize. So it seems to be binutils version
> > related. Do you have an older build handy you could try?
>
> Yes - in fact I was able to use a binary chop method to locate the
> exact problem.... which was later fixed by this patch:
>
> 2003-08-18 Andreas Schwab <schwab@suse.de>
>
> * libpei.h (bfd_pe_executable_p): Also recognize efi-app
> executables.
>
> Hence applying the attached patch to your 2.14 sources and then
> rebuilding/reinstalling should fix the problem.
Thanks, we'll add that to our internal binutils build. Thanks for
tracking this down -- it would have taken me ages to find it.
Brian J. Johnson
--------------------------------------------------------------------
"My bicycle is an elegant form of transportation. It carries me far
faster than I can run, yet I can carry it with one hand."
-- me