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: noload sections


>>>>> "raptorbrino" == raptorbrino  <raptorbrino@aim.com> writes:

 raptorbrino> Hi All, In looking at binutils-2.18, a NOLOAD section
 raptorbrino> (i.e. .bss) is allowed to reside in a LOAD segment.  Is
 raptorbrino> this okay?  If it is okay, the NOLOAD section shouldn't
 raptorbrino> add to the segment p_memsz, but it does.  Is this a bug,
 raptorbrino> or is my thinking way off?

It adds to p_memsz because it's an ALLOC section (it takes memory).
But it doesn't add to the file size (it's a NOLOAD section).

    paul


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