[PATCH] Re: PE/COFF propper _raw_size

Nick Clifton nickc@redhat.com
Tue Apr 15 14:25:00 GMT 2003


Hi Brian,

> > Well, since I still have not received any comments, here's an attempt at a
> > patch.  It appears to fix one of my gdb DWARF2 on Cygwin
> > problems.  Although, given my lack of understanding of this code, I am not
> > sure that it is otherwise harmless.

> 2003-04-15  Brian Ford  <ford@vss.fsi.com>
> 
> 	* peicode.h (coff_swap_scnhdr_in): If a section holds
> 	uninitialized data and is from an object file or from an
> 	executable image that has not initialized the s_size field, or if
> 	the physical size is padded, use the virtual size (stored in
> 	s_paddr) instead.

Thanks for submitting this.  I have checked your patch in to the
sources.

Cheers
        Nick



More information about the Binutils mailing list