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
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to