This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: SEC_NEVER_LOAD cleanup
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