Subject: Re: Running a section of code from internal memory

From: Scott Wood <[email-masked]>
Date: Mon, 12 May 2008 10:56:33 -0500

Sanal Kumar V K wrote:
> Now if I make the following entry in the linker script,
>   /* define L2 scratch here */
>   . = 0x9FC16800;
>   .l2_scratch         : { *(.l2_scratch) }
> 
> it says "collect2: ld returned 1 exit status".

I'm guessing there was an earlier error message printed by ld?

You probably located the L2 section too far away from the main section, 
and it's trying to do short branches or other limited relocations.

-Scott