This is the mail archive of the binutils@sources.redhat.com 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: Defining a section that isn't file-backed


On Thu, 2004-02-26 at 00:28, Ian Lance Taylor wrote:
> ELF sections created using the assembler .section pseudo-op are
> read-only by default.  They only acquire the write flag if you specify
> it explicitly.

Does the "a" flag include write as well? If not then I'm not sure why
the section is being mmapped rwx - are there other factors that can
influence this?

thanks -mike


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