SEC_NEVER_LOAD cleanup

Kai Tietz ktietz70@googlemail.com
Mon Oct 18 06:22:00 GMT 2010
2010/10/18 Alan Modra <amodra@gmail.com>:
> On Sat, Oct 16, 2010 at 10:08:07PM +0200, Kai Tietz wrote:
>> Maybe it is a general failure
>> to assume (at least for pe-coff, but maybe for elf, too) that NOLOAD
>> means to discard sections from linking?
>
> Possibly.  Can you say exactly how NOLOAD should behave from a COFF
> perspective?  ie. what STYP_NOLOAD ought to do?
>
> --
> Alan Modra
> Australia Development Lab, IBM
>

According to pe-coff specification NOLOAD means that a section has
neither allocation nor the load flag set. For example .debug* or
.metadata sections have this style described in pe-coff specification.
They are part of the image without being mapped into process-memory on
module load time, but have content and have image-file pointers.

Regards,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Binutils mailing list