SEC_NEVER_LOAD cleanup

Dave Korn dave.korn.cygwin@gmail.com
Sun Oct 17 16:40:00 GMT 2010
On 17/10/2010 11:32, Kai Tietz wrote:

> Well, the CONTENT flag is here of less use. The underlying issue is
> (at least for pe-coff) that SEC_NEVER_LOAD (which indicates for
> pe-coff just that this section doesn't have load and allocation flags
> set and will not loaded into memory - btw different to discard flag,
> which means that it is initially loaded but then discarded) is treated
> similar to SEC_EXCLUDE. The SEC_EXCLUDE is in fact the PE-COFF flag
> IMAGE_SCN_LNK_REMOVE.
> This looks wrong to me. If you want I can prepare a patch for this.

  Thanks, that would be very helpful.

    cheers,
      DaveK



More information about the Binutils mailing list