Root/xbboot/target-stage1/target.ld

1OUTPUT_ARCH(mips)
2ENTRY(_start)
3MEMORY
4{
5    ram : ORIGIN = 0x80002000 , 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 = ABSOLUTE(.); /* Base of small data */
23
24    .got : { *(.got*) } > ram
25
26    . = ALIGN(4);
27    .sbss : { *(.sbss*) } > ram
28    .bss : { *(.bss*) } > ram
29    . = ALIGN (4);
30}
31
32

Archive Download this file



interactive