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: Overlay sections, linking and copying


Alan Modra wrote:
On Wed, Aug 05, 2009 at 12:52:11PM +0530, Sivaprasad.pv wrote:
Is it possible to avoid loading overlay section by default ?
where I want load overlay sections from flash on demand.

This isn't a question about the linker. What happens in your
system between flash and ram is entirely up to you.
As we can avoid loading sections using (NOLOAD), Is there any way to do the same for overlay sections.
What change we need to make in linker to call function stubs ( bring the actual function from flash) and in turn calls the actual function.

You might like to have a look at the SPU target support in binutils. You'll find all the changes necessary for overlays, and much more.

Is it  feature of gnu linker ?
I mean any documentation is available to enable such features.


Thanks, Siva Prasad



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