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
Thanks a lot Scott for replying.
The attribute section is working, but one problem: the compiler is
automatically assigning address for the section and ld returns error is
I try to assign the address for this section in a linker script:
Following is the disassembly when I don't specify an add
On Thu, May 08, 2008 at 05:06:46PM +0530, Sanal Kumar V K wrote:
> A small part of the code needs to run from the on-chip "L2 scratch" for
> getting optimum performance. I would really appreciate if some could
> give me some pointers regarding the following questions:
>
> 1. Is #pragma section sup
Sanal Kumar V K ha scritto:
Hi All,
I am porting a GW/router application to embedded Linux for a product
based on SoC; following is the version information:
kernel: 2.6.10
uClibc: 0.9.27
gcc: 3.4.3
binutils: 2.15.94.0.2.2
A small part of the code needs to run from the on-chip "L2 scratch" for
Hi All,
I am porting a GW/router application to embedded Linux for a product
based on SoC; following is the version information:
kernel: 2.6.10
uClibc: 0.9.27
gcc: 3.4.3
binutils: 2.15.94.0.2.2
A small part of the code needs to run from the on-chip "L2 scratch" for
getting optimum performance. I