Overlay sections, linking and copying

Sivaprasad.pv sivaprasad.pv@redpinesignals.com
Wed Aug 5 08:25:00 GMT 2009


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




More information about the Binutils mailing list