Creating a NOLOAD section with contents

Ian Lance Taylor
Fri May 28 18:56:00 GMT 2010

Will Newton <> writes:

> Is it possible to create a code section as part of an ELF that has
> contents but is not loadable?

I think the only way to do this is to use a PHDRS clause and not put
your section in any PT_LOAD segment.  You may get a warning if you do


More information about the Binutils mailing list