Overlay sections, linking and copying

Alan Modra amodra@bigpond.net.au
Wed Aug 5 07:54:00 GMT 2009


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.

> 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.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list