This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PE/COFF propper _raw_size


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]