Running a section of code from internal memory

Scott Wood scottwood at freescale.com
Tue May 13 01:56:33 EST 2008


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


More information about the Linuxppc-embedded mailing list