Root/nandboot/src/ld.script

1OUTPUT_ARCH(mips)
2ENTRY(startup)
3MEMORY
4{
5    ram : ORIGIN = 0x80000000 , LENGTH = 0x100000
6}
7
8SECTIONS
9{
10    . = ALIGN(4);
11    .text : { *(.text*) } > ram
12
13    . = ALIGN(4);
14    .rodata : { *(.rodata*) } > ram
15
16    . = ALIGN(4);
17    .sdata : { *(.sdata*) } > ram
18
19    . = ALIGN(4);
20    .data : { *(.data*) *(.scommon*) *(.reginfo*) } > ram
21
22    _gp = ALIGN(16);
23    .got : { *(.got*) } > ram
24
25    . = ALIGN(4);
26    .sbss : { *(.sbss*) } > ram
27    .bss : { *(.bss*) } > ram
28    . = ALIGN (4);
29}
30

Archive Download this file



interactive