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


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


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