PE/COFF propper _raw_size
Brian Ford
ford@vss.fsi.com
Wed Apr 9 21:55:00 GMT 2003
Sorry to follow up my own post.
On Wed, 9 Apr 2003, Brian Ford wrote:
> I believe the correct place to do this is in coffgen.c
> (make_a_section_from_file), but I hate to introduce a COFF_WITH_PE ifdef
> there. (Incidentally, if bfd is supposed to support a super-bfd that
> works with all formats, how can we have ifdef code at all?) Another
> alternative would be to post process the sections in peicode.h
> (pe_bfd_object_p).
>
After further review, I think the correct place to do this is peicode.h
(coff_swap_scnhdr_in). I am working on a patch, but the following still
applies...
> I am still trying to get my feet wet in this mass of code. Just trying
> to figure out which code is actually used for my particular target
> seems very challenging. So, I may be off base on the proposed
> locations for this change. Any comments on the best place to
> do this, or on the proposed method will be greatly appreciated. Thanks.
>
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
More information about the Binutils
mailing list